diff options
-rw-r--r-- | test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll | 7 |
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 0000000000..b1290b186d --- /dev/null +++ b/test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=x86 +; PR825 + +long %test() { + %tmp.i5 = call long asm sideeffect "rdtsc", "=A,~{dirflag},~{fpsr},~{flags}"( ) ; <long> [#uses=0] + ret long %tmp.i5 +} |