[Mlir-commits] [mlir] [mlir][linalg] Extend `FuseElementwiseOps` pattern to work with named ops (PR #144922)
Renato Golin
llvmlistbot at llvm.org
Sat Nov 1 06:38:45 PDT 2025
rengolin wrote:
> If `matmul` + some other op obey those rules, then it should be fused. If that's undesirable, then the pattern logic should change, but that's not really an issue specific to enabling the pattern to any `LinalgOp`.
Not directly, I agree, but the current state would limit the damage, if this was really a problem. Widening the scope needs to be done with care. @ftynse @nicolasvasilache, any insight here?
One way to at least document the intention is to actually add tests for the things that make sense (to work and not to work) in this PR, so that when this breaks something, people have something to go on.
https://github.com/llvm/llvm-project/pull/144922
More information about the Mlir-commits
mailing list