[Mlir-commits] [mlir] [MLIR][SCF] Add an API to fuse consumer to a producer within scf loop (PR #88712)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu May 16 05:19:51 PDT 2024
Yun-Fly wrote:
> I've used mergeBlocks to do that after creating a new loop into which the tiled consumer will be fused - this reminds me we not only need to clone the entire hierarchy of loops but also traverse back to the point which leads us to the target inner loop and then re-create it (and then use mergeBlock) in a similar fashion.
@Abhishek-Varma Yes, as you said, this is related to the implementation details for next enhancement rather than this initial PR. It maybe better to open a RFC in discourse firstly(I am also trying this) and we can talk more there in avoid of blocking this PR merged :)
https://github.com/llvm/llvm-project/pull/88712
More information about the Mlir-commits
mailing list