[Mlir-commits] [mlir] [mlir][TilingInterface] Handle multi operand consumer fusion. (PR #145193)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jun 24 22:13:23 PDT 2025


================
@@ -203,6 +204,12 @@ DiagnosedSilenceableFailure
 transform::TestFuseConsumerOp::apply(TransformRewriter &rewriter,
                                      TransformResults &transformResults,
                                      TransformState &state) {
+  SmallVector<Operation *> slices;
+  for (auto op : getTargets()) {
+    auto sliceOp = *state.getPayloadOps(op).begin();
+    slices.push_back(sliceOp);
----------------
MaheshRavishankar wrote:

Id rather keep it separate. Its easier to read that way for me.

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


More information about the Mlir-commits mailing list