[Mlir-commits] [mlir] [mlir][linalg] Convert linalg.named to linalg.elementwise op. (PR #148424)
Adam Siemieniuk
llvmlistbot at llvm.org
Mon Jul 14 02:59:37 PDT 2025
adam-smnk wrote:
If we had a name for each abstraction level, there could be a single pass that converts all matching ops to that representation.
For everything to `generic`, there's `generalize`. For going to named ops, it's `specialize`.
> named --> linalg.element_wise , linalg.contraction : This PR mlir-opt -linalg-named-to-elementwise. We can rename it to cover contraction-op etc and extend the implementation etc. (-linalg-named-to-category-ops?)
This seems reasonable with a `linalg-categorize-ops` for conversion: generic -> eltwise/contract etc. <- named.
https://github.com/llvm/llvm-project/pull/148424
More information about the Mlir-commits
mailing list