[Mlir-commits] [mlir] b1d4265 - Apply clang-tidy fixes for llvm-qualified-auto in Promotion.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Fri Jan 19 17:58:53 PST 2024
Author: Mehdi Amini
Date: 2024-01-19T17:58:15-08:00
New Revision: b1d4265a5f5345065e5c2aedf50787da05ddcc08
URL: https://github.com/llvm/llvm-project/commit/b1d4265a5f5345065e5c2aedf50787da05ddcc08
DIFF: https://github.com/llvm/llvm-project/commit/b1d4265a5f5345065e5c2aedf50787da05ddcc08.diff
LOG: Apply clang-tidy fixes for llvm-qualified-auto in Promotion.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp b/mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
index 9311fd0bb2a478..ac896d6c30d049 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/Promotion.cpp
@@ -331,7 +331,7 @@ promoteSubViews(ImplicitLocOpBuilder &b,
// Copy data into the promoted buffers. Use callback if provided.
for (auto v : options.subViews) {
- auto info = promotionInfoMap.find(v.first);
+ auto *info = promotionInfoMap.find(v.first);
if (info == promotionInfoMap.end())
continue;
if (options.operandsNumbersToCopyIn.count(v.first) == 0)
More information about the Mlir-commits
mailing list