[llvm-branch-commits] [mlir] [mlir] Start moving some builtin type formats to the dialect (PR #80421)

Mehdi Amini via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Feb 2 08:04:17 PST 2024


================
@@ -25,7 +25,8 @@ include "mlir/IR/BuiltinTypeInterfaces.td"
 // Base class for Builtin dialect types.
 class Builtin_Type<string name, string typeMnemonic, list<Trait> traits = [],
                    string baseCppClass = "::mlir::Type">
-    : TypeDef<Builtin_Dialect, name, traits, baseCppClass> {
+    : TypeDef<Builtin_Dialect, name, !listconcat(traits, [PrintTypeQualified]),
----------------
joker-eph wrote:

I don't quite follow why `PrintTypeQualified` here? Do you have a test which shows that?

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


More information about the llvm-branch-commits mailing list