aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_set-I.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-05-22 18:56:56 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-05-22 18:56:56 +0000
commitc36c0ab44bfff45e92a5d7d7df4f37e77c510784 (patch)
treea2088e5960c80c59405844127aafae10afdd5d1a /test/CodeGen/X86/vec_set-I.ll
parentb074f80d8e0ab47012904634cef5468fea8d0165 (diff)
Add missing patterns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51435 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/vec_set-I.ll')
-rw-r--r--test/CodeGen/X86/vec_set-I.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vec_set-I.ll b/test/CodeGen/X86/vec_set-I.ll
new file mode 100644
index 0000000000..e1c44d0a0f
--- /dev/null
+++ b/test/CodeGen/X86/vec_set-I.ll
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movd
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep xorp
+
+define void @t1() nounwind {
+ %tmp298.i.i = load <4 x float>* null, align 16
+ %tmp304.i.i = bitcast <4 x float> %tmp298.i.i to <4 x i32>
+ %tmp305.i.i = and <4 x i32> %tmp304.i.i, < i32 -1, i32 0, i32 0, i32 0 >
+ store <4 x i32> %tmp305.i.i, <4 x i32>* null, align 16
+ unreachable
+}