Skip to content

Commit 9f85e7e

Browse files
committed
[MLIR] Apply clang-tidy fixes for llvm-qualified-auto in TileAllocation.cpp (NFC)
1 parent dc76ac6 commit 9f85e7e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@ void splitCondBranches(IRRewriter &rewriter, FunctionOpInterface function) {
216216
for (auto condBranch : worklist) {
217217
auto loc = condBranch.getLoc();
218218
Block *block = condBranch->getBlock();
219-
auto newTrueBranch = rewriter.splitBlock(block, block->end());
220-
auto newFalseBranch = rewriter.splitBlock(block, block->end());
219+
auto *newTrueBranch = rewriter.splitBlock(block, block->end());
220+
auto *newFalseBranch = rewriter.splitBlock(block, block->end());
221221
insertJump(loc, newTrueBranch, condBranch.getTrueDest(),
222222
condBranch.getTrueDestOperands());
223223
insertJump(loc, newFalseBranch, condBranch.getFalseDest(),
@@ -382,7 +382,7 @@ gatherTileLiveRanges(DenseMap<Operation *, unsigned> const &operationToIndexMap,
382382
// Find or create a live range for `value`.
383383
auto [it, _] = liveRanges.try_emplace(value, liveRangeAllocator);
384384
LiveRange &valueLiveRange = it->second;
385-
auto lastUseInBlock = livenessInfo.getEndOperation(value, firstUseOrDef);
385+
auto *lastUseInBlock = livenessInfo.getEndOperation(value, firstUseOrDef);
386386
// Add the interval [firstUseOrDef, lastUseInBlock) to the live range.
387387
unsigned startOpIdx =
388388
operationToIndexMap.at(firstUseOrDef) + (liveAtBlockEntry ? -1 : 0);

0 commit comments

Comments
 (0)