summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-07-11 02:52:37 +0000
committerChris Lattner <sabre@nondot.org>2006-07-11 02:52:37 +0000
commitfbc98917b1b46ff7aad72a9782904cabe102de90 (patch)
tree263efcc4fd03a373f137f65eba5baec99090b18e /test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll
parent25a022c7801b047b31d7610386e8a9ddca878cb1 (diff)
New testcase for PR825.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29100 91177308-0d34-0410-b5e6-96231b3b80d8
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 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}"( ) ; <long> [#uses=0]
+ ret long %tmp.i5
+}