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

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

mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td

index 31135fc..2ed49be 100644 (file)
@@ -22,6 +22,7 @@ def Complex_Dialect : Dialect {
   let dependentDialects = ["arith::ArithDialect"];
   let hasConstantMaterializer = 1;
   let useDefaultAttributePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
 }
 
 #endif // COMPLEX_BASE