[Mlir-commits] [mlir] bb5cca2 - Adopt Properties to store operations inherent Attributes in the Complex dialect

Mehdi Amini llvmlistbot at llvm.org
Tue May 9 06:59:48 PDT 2023


Author: Mehdi Amini
Date: 2023-05-09T14:58:42+01:00
New Revision: bb5cca24494636b63cfff9065c094d7396c2bef1

URL: https://github.com/llvm/llvm-project/commit/bb5cca24494636b63cfff9065c094d7396c2bef1
DIFF: https://github.com/llvm/llvm-project/commit/bb5cca24494636b63cfff9065c094d7396c2bef1.diff

LOG: 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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td b/mlir/include/mlir/Dialect/Complex/IR/ComplexBase.td
index 31135fc8c8ce7..2ed49be0b4b82 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


        


More information about the Mlir-commits mailing list