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

Markus Böck llvmlistbot at llvm.org
Thu Mar 21 05:39:20 PDT 2024


zero9178 wrote:

> > I am curious about the motivation
> 
> This is a spin-off from the pointer dialect proposal, see my post here: https://discourse.llvm.org/t/rfc-ptr-dialect-modularizing-ptr-ops-in-the-llvm-dialect/75142/10

I see thank you! Is the following a correct summary? The point of introducing this is to make it possible that `!ptr.ptr<#llvm.address_space<1>>` can be printed and parsed as e.g. `!llvm.ptr<1>` and the current implementation aims to do so by allowing a dialect to take over the printing and parsing of any attribute/type by returning `DialectAlias` from `getAlias`. This is starting to make more sense to me then

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


More information about the Mlir-commits mailing list