[Mlir-commits] [mlir] [mlir] [tblgen-to-irdl] Add types to tblgen-to-irdl script (PR #108558)
Fehr Mathieu
llvmlistbot at llvm.org
Sun Sep 15 08:06:22 PDT 2024
================
@@ -16,8 +16,11 @@ class Test_Type<string name, string typeMnemonic, list<Trait> traits = []>
class Test_Op<string mnemonic, list<Trait> traits = []>
: Op<Test_Dialect, mnemonic, traits>;
+// CHECK: irdl.type @"!singleton_a"
----------------
math-fehr wrote:
The name should just be `@singleton_a` here.
The reason we had a `!` in some places was only in string names (compared to references), to distinguish types and attributes.
https://github.com/llvm/llvm-project/pull/108558
More information about the Mlir-commits
mailing list