[Mlir-commits] [mlir] [mlir] Add the concept of ASM dialect aliases (PR #86033)
Markus Böck
llvmlistbot at llvm.org
Thu Mar 28 05:48:23 PDT 2024
================
@@ -1715,7 +1715,10 @@ class OpAsmDialectInterface
OverridableAlias,
/// An alias was provided and it should be used
/// (no other hooks will be checked).
- FinalAlias
+ FinalAlias,
+ /// A dialect alias was provided and it will be used
+ /// (no other hooks will be checked).
+ DialectAlias
----------------
zero9178 wrote:
Is this still required? Can't the printer just check whether the type/attribute implements the interface, if it does call `getAliasDialect`, and then call its `print*` method?
https://github.com/llvm/llvm-project/pull/86033
More information about the Mlir-commits
mailing list