Skip to content

Commit 78c50bb

Browse files
committed
[SLP][NFC]Remove unused variable, NFC.
1 parent f6315a9 commit 78c50bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11169,7 +11169,7 @@ class BoUpSLP::ShuffleInstructionBuilder final : public BaseShuffleAnalysis {
1116911169
VF = std::max(VF, SubVecVF);
1117011170
}
1117111171
// Adjust SubMask.
11172-
for (auto [I, Idx] : enumerate(SubMask))
11172+
for (int &Idx : SubMask)
1117311173
if (Idx != PoisonMaskElem)
1117411174
Idx += VF;
1117511175
copy(SubMask, std::next(VecMask.begin(), Part * SliceSize));

0 commit comments

Comments
 (0)