[Mlir-commits] [mlir] d1cafe2 - Apply clang-tidy fixes for llvm-qualified-auto in RegionUtils.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sat Feb 17 14:05:19 PST 2024
Author: Mehdi Amini
Date: 2024-02-17T14:05:02-08:00
New Revision: d1cafe2d801b95230ad01d208cab1442cdd71ff3
URL: https://github.com/llvm/llvm-project/commit/d1cafe2d801b95230ad01d208cab1442cdd71ff3
DIFF: https://github.com/llvm/llvm-project/commit/d1cafe2d801b95230ad01d208cab1442cdd71ff3.diff
LOG: Apply clang-tidy fixes for llvm-qualified-auto in RegionUtils.cpp (NFC)
Added:
Modified:
mlir/lib/Transforms/Utils/RegionUtils.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Transforms/Utils/RegionUtils.cpp b/mlir/lib/Transforms/Utils/RegionUtils.cpp
index 1f2344677e6515..e8b07143fc60bd 100644
--- a/mlir/lib/Transforms/Utils/RegionUtils.cpp
+++ b/mlir/lib/Transforms/Utils/RegionUtils.cpp
@@ -159,7 +159,7 @@ SmallVector<Value> mlir::makeRegionIsolatedFromAbove(
rewriter.replaceUsesWithIf(capturedVal, arg, replaceIfFn);
}
rewriter.setInsertionPointToStart(newEntryBlock);
- for (auto clonedOp : clonedOperations) {
+ for (auto *clonedOp : clonedOperations) {
Operation *newOp = rewriter.clone(*clonedOp, map);
rewriter.replaceOpWithIf(clonedOp, newOp->getResults(), replaceIfFn);
}
More information about the Mlir-commits
mailing list