Adopt Properties to store operations inherent Attributes in the MLProgram dialect
authorMehdi Amini <joker.eph@gmail.com>
Fri, 21 Apr 2023 06:50:13 +0000 (00:50 -0600)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 10 May 2023 00:31:00 +0000 (01:31 +0100)
This is part of an on-going migration to adopt Properties inside MLIR.

Differential Revision: https://reviews.llvm.org/D148894

mlir/include/mlir/Dialect/MLProgram/IR/MLProgramBase.td

index a585059..1143db5 100644 (file)
@@ -29,6 +29,7 @@ def MLProgram_Dialect : Dialect {
 
   let useDefaultAttributePrinterParser = 1;
   let useDefaultTypePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
 }
 
 #endif // MLPROGRAM_BASE