Skip to content

Commit a57b7e9

Browse files
joker-ephmahesh-attarde
authored andcommitted
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in Mem2Reg.cpp (NFC)
1 parent 602a7c5 commit a57b7e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Transforms/Mem2Reg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ LogicalResult MemorySlotPromotionAnalyzer::computeBlockingUses(
286286
mlir::getForwardSlice(slot.ptr, &forwardSlice);
287287
for (Operation *user : forwardSlice) {
288288
// If the next operation has no blocking uses, everything is fine.
289-
auto it = userToBlockingUses.find(user);
289+
auto *it = userToBlockingUses.find(user);
290290
if (it == userToBlockingUses.end())
291291
continue;
292292

0 commit comments

Comments
 (0)