[Mlir-commits] [mlir] [mlir][linalg] Elementwise fusion for any `LinalgOp` (PR #144922)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Jun 19 16:18:05 PDT 2025
srcarroll wrote:
> The current changes in this PR will fuse linalg.map ops, but produce a linalg.generic even when it is technically possible to generate another linalg.map. I dont know enough to modify the code in a sane way to get linalg.map outputs (when appropriate) so if anyone has any ideas, i would love to hear. I dont think it's important enough to go crazy with, but would be nice.
After a chat with @rengolin [here](https://discourse.llvm.org/t/rfc-extend-linalg-elemwise-named-ops-semantics/83927/13) , in particular
[quote="rengolin, post:6, topic:83927"]
In this case, a fusion of two `elementwise` operations would yield a `map`
[/quote]
it's probably important enough to warrant discussion
https://github.com/llvm/llvm-project/pull/144922
More information about the Mlir-commits
mailing list