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

Evan Cheng evan.cheng at apple.com
Tue May 30 17:48:21 PDT 2006



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

vec_extract.ll updated: 1.2 -> 1.3
---
Log message:

Update vector extract test cases.


---
Diffs of the changes:  (+2 -2)

 vec_extract.ll |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/test/Regression/CodeGen/X86/vec_extract.ll
diff -u llvm/test/Regression/CodeGen/X86/vec_extract.ll:1.2 llvm/test/Regression/CodeGen/X86/vec_extract.ll:1.3
--- llvm/test/Regression/CodeGen/X86/vec_extract.ll:1.2	Thu Apr 20 23:58:23 2006
+++ llvm/test/Regression/CodeGen/X86/vec_extract.ll	Tue May 30 19:48:09 2006
@@ -1,5 +1,5 @@
 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movss    | wc -l | grep 3 &&
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep unpckhps | wc -l | grep 1 &&
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movhlps  | wc -l | grep 1 &&
 ; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep pshufd   | wc -l | grep 1
 
 void %test1(<4 x float>* %F, float* %f) {
@@ -19,7 +19,7 @@
 
 void %test2(float* %R, <4 x float>* %P1) {
 	%X = load <4 x float>* %P1
-	%tmp = extractelement <4 x float> %X, uint 2
+	%tmp = extractelement <4 x float> %X, uint 3
 	store float %tmp, float* %R
 	ret void
 }






More information about the llvm-commits mailing list