diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2006-09-08 01:54:32 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2006-09-08 01:54:32 +0000 |
| commit | 5988288494af6186991024164c88136f2cc32eb7 (patch) | |
| tree | 74a83dc2d5e84af8427c1c20c2ce91d64972fd7d /llvm | |
| parent | 89c5d04b9b0713be753459f2e92380d2c13a1d3a (diff) | |
| download | bcm5719-llvm-5988288494af6186991024164c88136f2cc32eb7.tar.gz bcm5719-llvm-5988288494af6186991024164c88136f2cc32eb7.zip | |
Add a new test case for 'undef' shuffles.
llvm-svn: 30172
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Regression/CodeGen/X86/vec_shuffle-8.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/X86/vec_shuffle-8.ll b/llvm/test/Regression/CodeGen/X86/vec_shuffle-8.ll new file mode 100644 index 00000000000..449a3abd20e --- /dev/null +++ b/llvm/test/Regression/CodeGen/X86/vec_shuffle-8.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 && +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep shufps + +void %test(<4 x float>* %res, <4 x float>* %A) { + %tmp1 = load <4 x float>* %A + %tmp2 = shufflevector <4 x float> %tmp1, <4 x float> undef, <4 x uint> < uint 0, uint 5, uint 6, uint 7 > + store <4 x float> %tmp2, <4 x float>* %res + ret void +} |

