Apply clang-tidy fixes for llvm-qualified-auto in TileUsingInterface.cpp (NFC)
authorMehdi Amini <joker.eph@gmail.com>
Mon, 14 Nov 2022 06:33:14 +0000 (06:33 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 15 Nov 2022 18:14:01 +0000 (18:14 +0000)
mlir/lib/Dialect/SCF/Transforms/TileUsingInterface.cpp

index 6e59bdb..aea0f07 100644 (file)
@@ -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(