[Mlir-commits] [mlir] [mlir][linalg] Convert linalg.named to linalg.elementwise op. (PR #148424)

Adam Siemieniuk llvmlistbot at llvm.org
Mon Jul 14 06:04:34 PDT 2025


adam-smnk wrote:

> How do we manage the categorization of a DAG where only some ops can go to named ops while others must remain as a category or generic?

Depends a bit how granular you want to go. If the choice is per operation then one should roll their own pass/transformation that can apply custom logic.
It's a design decision whether the morphism logic should take a control callback or expose rewrites as API (like `linalg::vectorize`).

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


More information about the Mlir-commits mailing list