summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/inline-asm-modifier-n.ll
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-06-27 10:44:33 +0000
committerEd Schouten <ed@FreeBSD.org>2009-06-27 10:44:33 +0000
commitf859468f5a21b6952ab62917777f9fb3bba57003 (patch)
tree9794dc36f22f2a2b3f8063829d8a9b3a7794acc8 /test/CodeGen/X86/inline-asm-modifier-n.ll
parentf76359690a7035ad21498f2ba6be6991d3b2032d (diff)
Diffstat (limited to 'test/CodeGen/X86/inline-asm-modifier-n.ll')
-rw-r--r--test/CodeGen/X86/inline-asm-modifier-n.ll8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/X86/inline-asm-modifier-n.ll b/test/CodeGen/X86/inline-asm-modifier-n.ll
new file mode 100644
index 000000000000..97eac388677b
--- /dev/null
+++ b/test/CodeGen/X86/inline-asm-modifier-n.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc -march=x86 | grep { 37}
+; rdar://7008959
+
+define void @bork() nounwind {
+entry:
+ tail call void asm sideeffect "BORK ${0:n}", "i,~{dirflag},~{fpsr},~{flags}"(i32 -37) nounwind
+ ret void
+}