[Mlir-commits] [mlir] [mlir] [tblgen-to-irdl] Add types to tblgen-to-irdl script (PR #108558)

Alex Rice llvmlistbot at llvm.org
Sun Sep 15 16:42:20 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"
----------------
alexarice wrote:

You can still get name clashes in the symbol names. There are dialects which have operations, types, and attributes share name (I think stablehlo is an example)

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


More information about the Mlir-commits mailing list