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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Nov 1 12:19:10 PDT 2025


srcarroll wrote:

@rengolin Here's another idea.  Maybe to start i could just modify the controlFn for `linalg-fuse-elementwise-ops` pass specifically to only allow `linalg.generic`.  This would keep the current behavior for now, while also giving me the options I want, so everyone would win.  Then we can have more time think about if `linalg-fuse-elementwise-ops` should change.

I certainly don't mind adding more tests as you requested. But this is just a thought.

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


More information about the Mlir-commits mailing list