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

Javed Absar llvmlistbot at llvm.org
Mon Jul 14 06:09:05 PDT 2025


javedabsar1 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`).

call-back i.e. controlFn sounds better than command-line option. 

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


More information about the Mlir-commits mailing list