From bb5cca24494636b63cfff9065c094d7396c2bef1 Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Fri, 21 Apr 2023 00:24:10 -0600 Subject: [PATCH] Adopt Properties to store operations inherent Attributes in the Complex dialect 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td b/mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td index 31135fc..2ed49be0 100644 --- a/mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td +++ b/mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td @@ -22,6 +22,7 @@ def Complex_Dialect : Dialect { let dependentDialects = ["arith::ArithDialect"]; let hasConstantMaterializer = 1; let useDefaultAttributePrinterParser = 1; + let usePropertiesForAttributes = 1; } #endif // COMPLEX_BASE -- 2.7.4