new testcase
authorChris Lattner <sabre@nondot.org>
Sun, 25 Mar 2007 04:35:23 +0000 (04:35 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 25 Mar 2007 04:35:23 +0000 (04:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35326 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll [new file with mode: 0644]

diff --git a/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll b/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll
new file mode 100644 (file)
index 0000000..4cfe2dc
--- /dev/null
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llc -march=x86 | grep 'psrlw $8, %xmm0'
+target datalayout = "e-p:32:32"
+target triple = "i686-apple-darwin9"
+
+define void @test() {
+        tail call void asm sideeffect "psrlw $0, %xmm0", "X,~{dirflag},~{fpsr},~{flags}"( i32 8 )
+        ret void
+}
+