[Mlir-commits] [mlir] [mlir][affine] Avoid fusion when the sibling loop has result usage (PR #216564)

Kunal Dubey llvmlistbot at llvm.org
Sun Sep 13 00:35:38 PDT 2026


xakep8 wrote:

> This isn't the right content for this PR. Looks like the commits have more than what the title and summary says. Please keep this PR change restricted to the PR title. Any additional support can be reviewed separately. You shouldn't actually need to pass the IRMapper this way. Existing producer-consumer fusion doesn't support fusion in the presence of yield results as well AFAIR - since affine fusion deal with memref-based dependences and SSA dependences in and across loops that don't have cross-loop data flow (iter-args) - such dependences are captured via memory.

I'll move the extra commits to a new branch where I can pick up the remapping of usage to a destination loop.

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


More information about the Mlir-commits mailing list