[Mlir-commits] [mlir] Extend `TilingInterface` to allow more flexible tiling (PR #95422)

Srinath Avadhanula llvmlistbot at llvm.org
Mon Jun 17 08:44:21 PDT 2024


================
@@ -962,13 +965,12 @@ LogicalResult mlir::scf::yieldReplacementForFusedProducer(
                   .getDefiningOp<DestinationStyleOpInterface>()) {
         rewriter.setInsertionPoint(tiledDestStyleOp);
         Value newRegionArg = newRegionIterArgs.back();
-        auto destSlice = rewriter.create<tensor::ExtractSliceOp>(
-            sliceOp.getLoc(), newRegionArg, sliceOp.getMixedOffsets(),
-            sliceOp.getMixedSizes(), sliceOp.getMixedStrides());
         unsigned resultNumber = fusableProducer.getResultNumber();
-        rewriter.modifyOpInPlace(tiledDestStyleOp, [&]() {
-          tiledDestStyleOp.getDpsInitsMutable()[resultNumber].set(destSlice);
-        });
+        auto origSlice = tiledDestStyleOp.getDpsInits()[resultNumber]
----------------
srinathava wrote:

Thanks for the heads up @Yun-Fly 

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


More information about the Mlir-commits mailing list