[Mlir-commits] [mlir] [mlir][linalg] Extend `FuseElementwiseOps` pattern to work with named ops (PR #144922)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Fri Oct 31 13:48:52 PDT 2025


srcarroll wrote:

@rengolin just a bit more info

[This](https://github.com/llvm/llvm-project/blob/1e2ed8a5861a304d42214fc48c1fa1b9211b3540/mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp#L159)  imposes that the producer is elementwise. But [here](https://github.com/llvm/llvm-project/blob/1e2ed8a5861a304d42214fc48c1fa1b9211b3540/mlir/lib/Dialect/Linalg/Transforms/ElementwiseOpFusion.cpp#L159) they allow consumers to have reductions.

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


More information about the Mlir-commits mailing list