aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-05-31 00:48:09 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-05-31 00:48:09 +0000
commitcb309064024546c6a5b2c57741700a929055e896 (patch)
treefc6147f0932704fd1e343b4663cf293db5f353df /test/CodeGen
parent5a472821492e04d1f0909b16128554a126f0d12d (diff)
downloadexternal_llvm-cb309064024546c6a5b2c57741700a929055e896.zip
external_llvm-cb309064024546c6a5b2c57741700a929055e896.tar.gz
external_llvm-cb309064024546c6a5b2c57741700a929055e896.tar.bz2
Update vector extract test cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28580 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r--test/CodeGen/X86/vec_extract.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/vec_extract.ll b/test/CodeGen/X86/vec_extract.ll
index b30fded..6f411b8 100644
--- a/test/CodeGen/X86/vec_extract.ll
+++ b/test/CodeGen/X86/vec_extract.ll
@@ -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 @@ float %test2(<4 x float>* %F, float* %f) {
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
}