[Mlir-commits] [mlir] [mlir] Add dialect hooks for registering custom type and attribute alias printers (PR #173091)

Mehdi Amini llvmlistbot at llvm.org
Sat Dec 20 09:23:20 PST 2025


joker-eph wrote:

>> Can you add documentation please?
> On the website pages or where? Because the functions have doc comments.

I meant the markdown doc.

> Yes, that's why the public functions are called dialect alias. The alias is only printed if the dialect adding the alias is loaded.

That's a problem to me, this is the kind of thing that belongs to the `OpAsmDialectInterface` and a dialect should control its own entities.

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


More information about the Mlir-commits mailing list