[Mlir-commits] [mlir] [mlir][linalg] Extend `FuseElementwiseOps` pattern to work with named ops (PR #144922)
Renato Golin
llvmlistbot at llvm.org
Fri Jun 20 02:50:37 PDT 2025
rengolin wrote:
> [quote="rengolin, post:6, topic:83927"] In this case, a fusion of two `elementwise` operations would yield a `map` [/quote]
I'd leave this for another PR. I have similar comments here, where fusion of `map`s should still yield a `map`, but that can also be for a separate PR.
> I'm now realizing I should extend all the patterns in `populateElementwiseOpsFusionPatterns`. It should be similarly straight forward. Since the scope is larger than I initially thought, I'll wait for feedback before making any major changes.
We can go slow here, as there are many nuances. This PR hits the spot of being short and meaningful as is. As this will definitely need more discussion, we can use the evolution of PRs as inflection points in that discussion.
https://github.com/llvm/llvm-project/pull/144922
More information about the Mlir-commits
mailing list