[flang-commits] [mlir] [flang] [mlir][TilingInterface] Use `LoopLikeOpInterface` in tiling using SCF to unify tiling with `scf.for` and `scf.forall`. (PR #77874)

Nicolas Vasilache via flang-commits flang-commits at lists.llvm.org
Thu Jan 18 00:35:10 PST 2024


================
@@ -485,8 +485,8 @@ transform::FuseOp::apply(transform::TransformRewriter &rewriter,
       tileSizes.size() - llvm::count(tileSizes, 0), transformResults,
       [&](TilingInterface tilingInterfaceOp)
           -> FailureOr<scf::SCFTileAndFuseResult> {
-        return tileConsumerAndFuseProducerGreedilyUsingSCFForOp(
-            rewriter, tilingInterfaceOp, tileAndFuseOptions);
+        return tileConsumerAndFuseProducersUsingSCF(rewriter, tilingInterfaceOp,
----------------
nicolasvasilache wrote:

nit: is the 'UsingSCF' part of the name still load-bearing now that we don't distinguish between `scf.for` and `scf.forall` anymore ?

https://github.com/llvm/llvm-project/pull/77874


More information about the flang-commits mailing list