From: Mehdi Amini Date: Fri, 21 Apr 2023 06:24:10 +0000 (-0600) Subject: Adopt Properties to store operations inherent Attributes in the Complex dialect X-Git-Tag: upstream/17.0.6~9015 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb5cca24494636b63cfff9065c094d7396c2bef1;p=platform%2Fupstream%2Fllvm.git 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 --- 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