Apply clang-tidy fixes for readability-identifier-naming in LinalgOps.cpp (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Sun, 3 Apr 2022 22:55:32 +0000 (22:55 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 12 Apr 2022 05:30:01 +0000 (05:30 +0000)
mlir/lib/Dialect/Linalg/IR/LinalgOps.cpp

index 78b32cb..687a067 100644 (file)
@@ -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) {