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

Renato Golin llvmlistbot at llvm.org
Fri Oct 31 13:23:03 PDT 2025


rengolin wrote:

Another question: If we just assume `LinalgOp`, then wouldn't that also match `matmul`, `contract`, `softmax` and other non-ew operations? Or do we have an explicit check for EW maps?

Would be good to _prove_ that with some negative tests (at least one for `contract` and one for `softmax`).

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


More information about the Mlir-commits mailing list