[Mlir-commits] [mlir] 47a91a3 - Adopt Properties to store operations inherent Attributes in the Bufferization dialect

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


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

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

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

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

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Bufferization/IR/BufferizationBase.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationBase.td b/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationBase.td
index 764992dfa9b5d..442be0aa232d0 100644
--- a/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationBase.td
+++ b/mlir/include/mlir/Dialect/Bufferization/IR/BufferizationBase.td
@@ -69,6 +69,7 @@ def Bufferization_Dialect : Dialect {
         kEscapeAttrName = "bufferization.escape";
   }];
   let hasOperationAttrVerify = 1;
+  let usePropertiesForAttributes = 1;
 }
 
 #endif // BUFFERIZATION_BASE


        


More information about the Mlir-commits mailing list