[Mlir-commits] [mlir] 9f2eea2 - Adopt Properties to store operations inherent Attributes in the Affine dialect

Mehdi Amini llvmlistbot at llvm.org
Mon May 8 08:34:32 PDT 2023


Author: Mehdi Amini
Date: 2023-05-08T08:32:19-07:00
New Revision: 9f2eea26a909468ec9eeacee3a9425b5b7216bb9

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

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

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

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Affine/IR/AffineOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Affine/IR/AffineOps.td b/mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
index 1ad10cc976dd5..4bbcf12b47d97 100644
--- a/mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
+++ b/mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
@@ -23,6 +23,7 @@ def Affine_Dialect : Dialect {
   let name = "affine";
   let cppNamespace = "::mlir::affine";
   let hasConstantMaterializer = 1;
+  let usePropertiesForAttributes = 1;
   let dependentDialects = ["arith::ArithDialect"];
 }
 


        


More information about the Mlir-commits mailing list