[Mlir-commits] [mlir] [mlir][scf] Extend consumer fusion to multiple tilable users (PR #111955)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Oct 15 02:26:34 PDT 2024
Yun-Fly wrote:
> We dont have to have scf.for dominate all definitions of the operands of consumerOp, i.e we dont need the scf.for to dominate the entire slice of consumerOp. What I meant was that if you take a program slice of consumerOp which is cut-off at scf.for, the only use should be consumerOp.
I have refactored code based on backward slice, which is similar to [this](https://github.com/iree-org/iree/blob/16f7ebf3883fd319152518c067121fdabad00b03/compiler/src/iree/compiler/Dialect/Flow/Transforms/FuseHorizontalContractions.cpp#L324). Please help to take look again :)
https://github.com/llvm/llvm-project/pull/111955
More information about the Mlir-commits
mailing list