Skip to content

Commit fb89ac2

Browse files
committed
Drop superfluous Match0 check
1 parent f0317f1 commit fb89ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2285,7 +2285,7 @@ bool VectorCombine::foldShuffleOfShuffles(Instruction &I) {
22852285
// If the outer shuffle is a permute, then create a fake inner all-poison
22862286
// shuffle. This is easier than accounting for length-changing shuffles below.
22872287
SmallVector<int, 16> PoisonMask1;
2288-
if (Match0 && !Match1 && isa<PoisonValue>(OuterV1)) {
2288+
if (!Match1 && isa<PoisonValue>(OuterV1)) {
22892289
X1 = X0;
22902290
Y1 = Y0;
22912291
PoisonMask1.append(InnerMask0.size(), PoisonMaskElem);

0 commit comments

Comments
 (0)