summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopVectorize
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-10-23 15:05:12 +0000
committerSanjay Patel <spatel@rotateright.com>2018-10-23 15:05:12 +0000
commit747feb28e469a472e6ae5472385fac024ae1b632 (patch)
tree2e9d1469f69a974fe3c52fab925f57118ed6fd32 /llvm/test/Transforms/LoopVectorize
parent37632992efde080a1c72fe9bfa95087c9cff5737 (diff)
downloadbcm5719-llvm-747feb28e469a472e6ae5472385fac024ae1b632.tar.gz
bcm5719-llvm-747feb28e469a472e6ae5472385fac024ae1b632.zip
[InstCombine] use 'match' to handle vectors and simplify code
This is another step towards completely removing the fake binop queries for not/neg/fneg. llvm-svn: 345036
Diffstat (limited to 'llvm/test/Transforms/LoopVectorize')
-rw-r--r--llvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll b/llvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll
index 69e202f8889..e341576e531 100644
--- a/llvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll
+++ b/llvm/test/Transforms/LoopVectorize/invariant-store-vectorization.ll
@@ -293,8 +293,7 @@ for.end: ; preds = %for.body
; CHECK-NEXT: [[BROADCAST_SPLAT6:%.*]] = shufflevector <4 x i32> [[BROADCAST_SPLATINSERT5]], <4 x i32> undef, <4 x i32> zeroinitializer
; CHECK-NEXT: [[TMP2:%.*]] = insertelement <4 x i1> undef, i1 [[CMP]], i32 3
; CHECK-NEXT: [[TMP3:%.*]] = insertelement <4 x i32> undef, i32 [[K]], i32 3
-; CHECK-NEXT: [[TMP4:%.*]] = xor <4 x i1> [[TMP2]], <i1 undef, i1 undef, i1 undef, i1 true>
-; CHECK-NEXT: [[PREDPHI:%.*]] = select <4 x i1> [[TMP4]], <4 x i32> [[TMP3]], <4 x i32> [[BROADCAST_SPLAT6]]
+; CHECK-NEXT: [[PREDPHI:%.*]] = select <4 x i1> [[TMP2]], <4 x i32> [[BROADCAST_SPLAT6]], <4 x i32> [[TMP3]]
; CHECK-NEXT: [[TMP5:%.*]] = extractelement <4 x i32> [[PREDPHI]], i32 3
; CHECK-NEXT: br label [[VECTOR_BODY:%.*]]
; CHECK: vector.body:
OpenPOWER on IntegriCloud