[Mlir-commits] [mlir] [NFC] Simplify the tiling implementation using cloning. (PR #72178)

Nicolas Vasilache llvmlistbot at llvm.org
Mon Nov 20 01:27:10 PST 2023


================
@@ -708,28 +781,46 @@ void mlir::scf::yieldReplacementForFusedProducer(
     RewriterBase &rewriter, tensor::ExtractSliceOp sliceOp,
     scf::SCFFuseProducerOfSliceResult fusedProducerInfo,
     MutableArrayRef<scf::ForOp> loops) {
-  auto [fusableProducer, fusedProducerValue, tileAndFusedOps] =
-      fusedProducerInfo;
-  SmallVector<Value> initValues;
+  if (loops.empty()) {
----------------
nicolasvasilache wrote:

SG, I appreciate the removal of `yieldTiledValues` and `updateDestinationOperandsForTiledOp`

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


More information about the Mlir-commits mailing list