[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/vec_shuffle-8.ll

Evan Cheng evan.cheng at apple.com
Thu Sep 7 18:54:46 PDT 2006



Changes in directory llvm/test/Regression/CodeGen/X86:

vec_shuffle-8.ll added (r1.1)
---
Log message:

Add a new test case for 'undef' shuffles.


---
Diffs of the changes:  (+9 -0)

 vec_shuffle-8.ll |    9 +++++++++
 1 files changed, 9 insertions(+)


Index: llvm/test/Regression/CodeGen/X86/vec_shuffle-8.ll
diff -c /dev/null llvm/test/Regression/CodeGen/X86/vec_shuffle-8.ll:1.1
*** /dev/null	Thu Sep  7 20:54:42 2006
--- llvm/test/Regression/CodeGen/X86/vec_shuffle-8.ll	Thu Sep  7 20:54:32 2006
***************
*** 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
+ }






More information about the llvm-commits mailing list