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

Mehdi Amini llvmlistbot at llvm.org
Tue May 9 17:31:29 PDT 2023


Author: Mehdi Amini
Date: 2023-05-10T01:31:00+01:00
New Revision: feace14fb9741e00db49bb7f2d7fdb6bfc4360a4

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

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

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

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/IRDL/IR/IRDL.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/IRDL/IR/IRDL.td b/mlir/include/mlir/Dialect/IRDL/IR/IRDL.td
index c8303a2cc0ecd..ab92821e658f6 100644
--- a/mlir/include/mlir/Dialect/IRDL/IR/IRDL.td
+++ b/mlir/include/mlir/Dialect/IRDL/IR/IRDL.td
@@ -70,6 +70,7 @@ def IRDL_Dialect : Dialect {
   }];
 
   let useDefaultTypePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
 
   let name = "irdl";
   let cppNamespace = "::mlir::irdl";


        


More information about the Mlir-commits mailing list