[Mlir-commits] [mlir] fbfca43 - Apply clang-tidy fixes for llvm-qualified-auto in TileUsingInterface.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Tue Nov 15 10:14:23 PST 2022


Author: Mehdi Amini
Date: 2022-11-15T18:14:01Z
New Revision: fbfca43e6d97d2057eaa1aa3066ce2048bc927a9

URL: https://github.com/llvm/llvm-project/commit/fbfca43e6d97d2057eaa1aa3066ce2048bc927a9
DIFF: https://github.com/llvm/llvm-project/commit/fbfca43e6d97d2057eaa1aa3066ce2048bc927a9.diff

LOG: Apply clang-tidy fixes for llvm-qualified-auto in TileUsingInterface.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp b/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
index 6e59bdb09b12d..aea0f07a2272b 100644
--- a/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
+++ b/mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp
@@ -550,7 +550,7 @@ mlir::scf::tileConsumerAndFuseProducerGreedilyUsingSCFForOp(
         tileUsingSCFForOp(rewriter, consumer, options.tilingOptions);
     if (failed(tilingResult))
       return rewriter.notifyMatchFailure(consumer, "failed to tile consumer");
-    for (auto tiledOp : tilingResult->tiledOps)
+    for (auto *tiledOp : tilingResult->tiledOps)
       tileAndFuseResult.tiledAndFusedOps.insert(tiledOp);
     tileAndFuseResult.loops = std::move(tilingResult->loops);
     for (const auto &result : llvm::enumerate(


        


More information about the Mlir-commits mailing list