summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2012-1-10-buildvector.ll
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-08-27 05:39:57 +0000
committerCraig Topper <craig.topper@intel.com>2017-08-27 05:39:57 +0000
commit36bd247f64714287c754e41fb45add8fc3696b34 (patch)
tree768ef44c5bb4d991a9eef23d4d4fafc278fde1c8 /llvm/test/CodeGen/X86/2012-1-10-buildvector.ll
parent71dab64a57189ecff069486278bb79feb76a2719 (diff)
downloadbcm5719-llvm-36bd247f64714287c754e41fb45add8fc3696b34.tar.gz
bcm5719-llvm-36bd247f64714287c754e41fb45add8fc3696b34.zip
[X86] Add a target-specific DAG combine to combine extract_subvector from all zero/one build_vectors.
llvm-svn: 311841
Diffstat (limited to 'llvm/test/CodeGen/X86/2012-1-10-buildvector.ll')
-rw-r--r--llvm/test/CodeGen/X86/2012-1-10-buildvector.ll1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/2012-1-10-buildvector.ll b/llvm/test/CodeGen/X86/2012-1-10-buildvector.ll
index b5f1f6d539c..9f17ce4b2ec 100644
--- a/llvm/test/CodeGen/X86/2012-1-10-buildvector.ll
+++ b/llvm/test/CodeGen/X86/2012-1-10-buildvector.ll
@@ -7,7 +7,6 @@ define void @bad_cast() {
; CHECK-NEXT: vxorps %xmm0, %xmm0, %xmm0
; CHECK-NEXT: vmovaps %xmm0, (%eax)
; CHECK-NEXT: movl $0, (%eax)
-; CHECK-NEXT: vzeroupper
; CHECK-NEXT: retl
%vext.i = shufflevector <2 x i64> undef, <2 x i64> undef, <3 x i32> <i32 0, i32 1, i32 undef>
%vecinit8.i = shufflevector <3 x i64> zeroinitializer, <3 x i64> %vext.i, <3 x i32> <i32 0, i32 3, i32 4>
OpenPOWER on IntegriCloud