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 dad00aa commit bacd8aeCopy full SHA for bacd8ae
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
@@ -2800,7 +2800,7 @@ bool VectorCombine::foldInsExtVectorToShuffle(Instruction &I) {
2800
if (ExtIdx >= NumElts)
2801
return false;
2802
2803
- SmallVector<int> Mask(NumElts);
+ SmallVector<int> Mask(NumElts, 0);
2804
std::iota(Mask.begin(), Mask.end(), 0);
2805
Mask[InsIdx] = ExtIdx + NumElts;
2806
// Cost
0 commit comments