diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-05-22 18:56:56 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-05-22 18:56:56 +0000 |
commit | 53963b775ecac4d9f40558764e059ea99372862d (patch) | |
tree | bb3f93db203d3576484b0706190775c54e172c36 /llvm/test/CodeGen/X86/vec_set-I.ll | |
parent | 1df2f3a1f5c4b58a7fc871c0967573281d75fa22 (diff) | |
download | bcm5719-llvm-53963b775ecac4d9f40558764e059ea99372862d.tar.gz bcm5719-llvm-53963b775ecac4d9f40558764e059ea99372862d.zip |
Add missing patterns.
llvm-svn: 51435
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_set-I.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/vec_set-I.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/vec_set-I.ll b/llvm/test/CodeGen/X86/vec_set-I.ll new file mode 100644 index 00000000000..e1c44d0a0f4 --- /dev/null +++ b/llvm/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 +} |