[Mlir-commits] [mlir] 3c9e090 - Apply clang-tidy fixes for readability-identifier-naming in LinalgOps.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Mon Apr 11 22:30:20 PDT 2022
Author: Mehdi Amini
Date: 2022-04-12T05:30:01Z
New Revision: 3c9e09036cdd1c90775cd3f16c7caf93427c92af
URL: https://github.com/llvm/llvm-project/commit/3c9e09036cdd1c90775cd3f16c7caf93427c92af
DIFF: https://github.com/llvm/llvm-project/commit/3c9e09036cdd1c90775cd3f16c7caf93427c92af.diff
LOG: Apply clang-tidy fixes for readability-identifier-naming in LinalgOps.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
index 78b32cb54c2db..687a0672895b7 100644
--- a/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
+++ b/mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
@@ -116,10 +116,10 @@ static bool hasaUniqueDim(ArrayRef<AffineMap> maps, unsigned testMapLocation) {
if (expr != nullptr)
dimsToCheck.insert(expr.getPosition());
}
- for (const auto &It : llvm::enumerate(maps)) {
- if (It.index() == testMapLocation)
+ for (const auto &it : llvm::enumerate(maps)) {
+ if (it.index() == testMapLocation)
continue;
- auto map = It.value();
+ auto map = it.value();
for (auto result : map.getResults()) {
auto expr = result.dyn_cast<AffineDimExpr>();
if (expr != nullptr) {
More information about the Mlir-commits
mailing list