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

lorenzo chelini llvmlistbot at llvm.org
Tue Nov 14 01:16:15 PST 2023


================
@@ -636,28 +664,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()) {
----------------
chelini wrote:

nit: trivial braces can be omitted

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


More information about the Mlir-commits mailing list