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

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


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

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

LOG: Adopt Properties to store operations inherent Attributes in the DLTI dialect

This is part of an on-going migration to adopt Properties inside MLIR.

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/DLTI/DLTIBase.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/DLTI/DLTIBase.td b/mlir/include/mlir/Dialect/DLTI/DLTIBase.td
index 37187bf9e2055..38b3b0cc8f671 100644
--- a/mlir/include/mlir/Dialect/DLTI/DLTIBase.td
+++ b/mlir/include/mlir/Dialect/DLTI/DLTIBase.td
@@ -45,6 +45,7 @@ def DLTI_Dialect : Dialect {
   }];
 
   let useDefaultAttributePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
 }
 
 def DLTI_DataLayoutEntryAttr : DialectAttr<


        


More information about the Mlir-commits mailing list