[Mlir-commits] [mlir] [MLIR][TilingInterface] Extend consumer fusion for multi-use of producer shared by terminator ops (PR #110105)

Abhishek Varma llvmlistbot at llvm.org
Mon Sep 30 02:19:09 PDT 2024


================
@@ -1488,8 +1488,6 @@ static FailureOr<OpOperand *> getConsumerFromUses(Value val,
     Operation *consumerOp = opOperand.getOwner();
     if (isa<scf::YieldOp, tensor::ParallelInsertSliceOp>(consumerOp))
       continue;
-    if (operand && *operand != opOperand)
-      return failure();
     // TODO: We have to init result of consumer before scf.for, use
----------------
Abhishek-Varma wrote:

Yes yes. I was about to push it. Thanks for the catch! PTAL.

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


More information about the Mlir-commits mailing list