summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/pointer-vector.ll
diff options
context:
space:
mode:
authorMichael Liao <michael.liao@intel.com>2012-10-23 17:34:00 +0000
committerMichael Liao <michael.liao@intel.com>2012-10-23 17:34:00 +0000
commitd9d09600ee7ffa5e8fcaf13fa5b37c144831e6c6 (patch)
tree50b9a6f65ec56436eebd72fb22d05152ee2a47df /test/CodeGen/X86/pointer-vector.ll
parentbf261f11a0142ce315e9bb5a2412419a777460a9 (diff)
downloadllvm-d9d09600ee7ffa5e8fcaf13fa5b37c144831e6c6.tar.gz
llvm-d9d09600ee7ffa5e8fcaf13fa5b37c144831e6c6.tar.bz2
llvm-d9d09600ee7ffa5e8fcaf13fa5b37c144831e6c6.tar.xz
Enable lowering ZERO_EXTEND/ANY_EXTEND to PMOVZX from SSE4.1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166486 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/pointer-vector.ll')
-rw-r--r--test/CodeGen/X86/pointer-vector.ll5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CodeGen/X86/pointer-vector.ll b/test/CodeGen/X86/pointer-vector.ll
index 800fbedb4f..58423d1959 100644
--- a/test/CodeGen/X86/pointer-vector.ll
+++ b/test/CodeGen/X86/pointer-vector.ll
@@ -81,8 +81,7 @@ define <4 x i32*> @INT2PTR1(<4 x i8>* %p) nounwind {
entry:
%G = load <4 x i8>* %p
;CHECK: movl
-;CHECK: movd
-;CHECK: pshufb
+;CHECK: pmovzxbd
;CHECK: pand
%K = inttoptr <4 x i8> %G to <4 x i32*>
;CHECK: ret
@@ -105,7 +104,7 @@ define <2 x i32*> @BITCAST1(<2 x i8*>* %p) nounwind {
entry:
%G = load <2 x i8*>* %p
;CHECK: movl
-;CHECK: movsd
+;CHECK: pmovzxdq
%T = bitcast <2 x i8*> %G to <2 x i32*>
;CHECK: ret
ret <2 x i32*> %T