Skip to content

Commit 5529a27

Browse files
committed
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in LoopInvariantCodeMotionUtils.cpp (NFC)
1 parent a7d7018 commit 5529a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Transforms/Utils/LoopInvariantCodeMotionUtils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ static LoopLikeOpInterface hoistSubsetAtIterArg(RewriterBase &rewriter,
324324
LoopLikeOpInterface loopLike,
325325
BlockArgument iterArg) {
326326
assert(iterArg.getOwner()->getParentOp() == loopLike && "invalid iter_arg");
327-
auto it = llvm::find(loopLike.getRegionIterArgs(), iterArg);
327+
BlockArgument *it = llvm::find(loopLike.getRegionIterArgs(), iterArg);
328328
int64_t iterArgIdx = std::distance(loopLike.getRegionIterArgs().begin(), it);
329329
MatchingSubsets subsets;
330330
if (failed(subsets.populateSubsetOpsAtIterArg(loopLike, iterArg)))

0 commit comments

Comments
 (0)