Skip to content

Commit 53a18eb

Browse files
committed
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in VectorUtils.cpp (NFC)
1 parent 70a7ffd commit 53a18eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ vector::createUnrollIterator(VectorType vType, int64_t targetRank) {
281281
auto shapeToUnroll = vType.getShape().drop_back(targetRank);
282282
auto inputScalableVecDimsToUnroll =
283283
vType.getScalableDims().drop_back(targetRank);
284-
auto it = llvm::find(inputScalableVecDimsToUnroll, true);
284+
const auto *it = llvm::find(inputScalableVecDimsToUnroll, true);
285285
auto firstScalableDim = it - inputScalableVecDimsToUnroll.begin();
286286
if (firstScalableDim == 0)
287287
return {};

0 commit comments

Comments
 (0)