aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll')
-rw-r--r--test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll b/test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll
new file mode 100644
index 0000000..d044fd7
--- /dev/null
+++ b/test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
+; PR825
+
+long %test() {
+ %tmp.i5 = call long asm sideeffect "rdtsc", "=A,~{dirflag},~{fpsr},~{flags}"( ) ; <long> [#uses=0]
+ ret long %tmp.i5
+}