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 b3e7e4b commit ff78d23Copy full SHA for ff78d23
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
@@ -5485,7 +5485,7 @@ InstructionCost AArch64TTIImpl::getShuffleCost(
5485
SmallVector<int> NMask;
5486
// Split the existing mask into chunks of size LTNumElts. Track the source
5487
// sub-vectors to ensure the result has at most 2 inputs.
5488
- unsigned Source1, Source2;
+ unsigned Source1 = 0, Source2 = 0;
5489
unsigned NumSources = 0;
5490
for (unsigned E = 0; E < LTNumElts; E++) {
5491
int MaskElt = (N * LTNumElts + E < TpNumElts) ? Mask[N * LTNumElts + E]
0 commit comments