We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c24c17 commit 38ce770Copy full SHA for 38ce770
llvm/test/CodeGen/X86/apx/gr8_norex2.ll
@@ -0,0 +1,9 @@
1
+; Check ah is not allocatable for register class gr8_norex2
2
+; RUN: not llc < %s -mtriple=x86_64-unknown-unknown 2>&1 | FileCheck %s
3
+
4
+define void @gr8_norex2() {
5
+; CHECK: error: inline assembly requires more registers than available
6
+ %1 = tail call i8 asm sideeffect "movb %r14b, $0", "=r,~{al},~{rbx},~{rcx},~{rdx},~{rdi},~{rsi},~{rbp},~{rsp},~{r8},~{r9},~{r10},~{r11},~{r12},~{r13},~{r14},~{r15},~{dirflag},~{fpsr},~{flags}"()
7
+ ret void
8
+}
9
0 commit comments