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 00000000000..b1290b186da --- /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}"( ) ; [#uses=0] + ret long %tmp.i5 +}