We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0317f1 commit fb89ac2Copy full SHA for fb89ac2
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -2285,7 +2285,7 @@ bool VectorCombine::foldShuffleOfShuffles(Instruction &I) {
2285
// If the outer shuffle is a permute, then create a fake inner all-poison
2286
// shuffle. This is easier than accounting for length-changing shuffles below.
2287
SmallVector<int, 16> PoisonMask1;
2288
- if (Match0 && !Match1 && isa<PoisonValue>(OuterV1)) {
+ if (!Match1 && isa<PoisonValue>(OuterV1)) {
2289
X1 = X0;
2290
Y1 = Y0;
2291
PoisonMask1.append(InnerMask0.size(), PoisonMaskElem);
0 commit comments