[Mlir-commits] [mlir] 9f85e7e - [MLIR] Apply clang-tidy fixes for llvm-qualified-auto in TileAllocation.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Mon Oct 27 22:24:09 PDT 2025
Author: Mehdi Amini
Date: 2025-10-27T22:22:54-07:00
New Revision: 9f85e7e16db7fd4fe32a69933260a1059ab589ec
URL: https://github.com/llvm/llvm-project/commit/9f85e7e16db7fd4fe32a69933260a1059ab589ec
DIFF: https://github.com/llvm/llvm-project/commit/9f85e7e16db7fd4fe32a69933260a1059ab589ec.diff
LOG: [MLIR] Apply clang-tidy fixes for llvm-qualified-auto in TileAllocation.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp b/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
index d925c19852679..a651710ec3159 100644
--- a/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
+++ b/mlir/lib/Dialect/ArmSME/Transforms/TileAllocation.cpp
@@ -216,8 +216,8 @@ void splitCondBranches(IRRewriter &rewriter, FunctionOpInterface function) {
for (auto condBranch : worklist) {
auto loc = condBranch.getLoc();
Block *block = condBranch->getBlock();
- auto newTrueBranch = rewriter.splitBlock(block, block->end());
- auto newFalseBranch = rewriter.splitBlock(block, block->end());
+ auto *newTrueBranch = rewriter.splitBlock(block, block->end());
+ auto *newFalseBranch = rewriter.splitBlock(block, block->end());
insertJump(loc, newTrueBranch, condBranch.getTrueDest(),
condBranch.getTrueDestOperands());
insertJump(loc, newFalseBranch, condBranch.getFalseDest(),
@@ -382,7 +382,7 @@ gatherTileLiveRanges(DenseMap<Operation *, unsigned> const &operationToIndexMap,
// Find or create a live range for `value`.
auto [it, _] = liveRanges.try_emplace(value, liveRangeAllocator);
LiveRange &valueLiveRange = it->second;
- auto lastUseInBlock = livenessInfo.getEndOperation(value, firstUseOrDef);
+ auto *lastUseInBlock = livenessInfo.getEndOperation(value, firstUseOrDef);
// Add the interval [firstUseOrDef, lastUseInBlock) to the live range.
unsigned startOpIdx =
operationToIndexMap.at(firstUseOrDef) + (liveAtBlockEntry ? -1 : 0);
More information about the Mlir-commits
mailing list