summaryrefslogtreecommitdiffstats
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.ll8
1 files changed, 8 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..4ea364d
--- /dev/null
+++ b/test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll
@@ -0,0 +1,8 @@
+; RUN: llc < %s -march=x86
+; PR825
+
+define i64 @test() {
+ %tmp.i5 = call i64 asm sideeffect "rdtsc", "=A,~{dirflag},~{fpsr},~{flags}"( ) ; <i64> [#uses=1]
+ ret i64 %tmp.i5
+}
+