[Mlir-commits] [mlir] [mlir] Add the concept of ASM dialect aliases (PR #86033)

Mehdi Amini llvmlistbot at llvm.org
Tue Mar 26 12:40:17 PDT 2024


joker-eph wrote:

> Having said that, I like the idea of making them a first-class concept, however, that involves changing AbstractType, MLIRContext and other core classes, and that goes outside the original proposal and requires further discussion.

The way I read @zero9178 post, there wouldn't be any change to any of the Core Storage or anything: it is still an alias. You just keep the ODS as a driver to declare the alias so you keep the documentation of the alias, and also auto-generate the c++ code for the aliasing dialect.
For example you had to write `class LLVMPointerType : public ptr::PtrType` by hand while it could be generated by TableGen.


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


More information about the Mlir-commits mailing list