summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/inline-asm-q-regs.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/inline-asm-q-regs.ll')
-rw-r--r--test/CodeGen/X86/inline-asm-q-regs.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/inline-asm-q-regs.ll b/test/CodeGen/X86/inline-asm-q-regs.ll
new file mode 100644
index 0000000..ab44206
--- /dev/null
+++ b/test/CodeGen/X86/inline-asm-q-regs.ll
@@ -0,0 +1,10 @@
+; RUN: llc < %s -march=x86-64
+; rdar://7066579
+
+ type { i64, i64, i64, i64, i64 } ; type %0
+
+define void @t() nounwind {
+entry:
+ %asmtmp = call %0 asm sideeffect "mov %cr0, $0 \0Amov %cr2, $1 \0Amov %cr3, $2 \0Amov %cr4, $3 \0Amov %cr8, $0 \0A", "=q,=q,=q,=q,=q,~{dirflag},~{fpsr},~{flags}"() nounwind ; <%0> [#uses=0]
+ ret void
+}
OpenPOWER on IntegriCloud