[Mlir-commits] [mlir] 8dacfdf - Adopt Properties to store operations inherent Attributes in the Async dialect

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


Author: Mehdi Amini
Date: 2023-05-08T08:32:20-07:00
New Revision: 8dacfdf03315997765a6fcf3bd98a858e766a82c

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

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

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

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Async/IR/AsyncDialect.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Async/IR/AsyncDialect.td b/mlir/include/mlir/Dialect/Async/IR/AsyncDialect.td
index eb1d76a180fe2..465a0e0ac397a 100644
--- a/mlir/include/mlir/Dialect/Async/IR/AsyncDialect.td
+++ b/mlir/include/mlir/Dialect/Async/IR/AsyncDialect.td
@@ -29,6 +29,7 @@ def AsyncDialect : Dialect {
   }];
 
   let useDefaultTypePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
 
   let extraClassDeclaration = [{
     /// The name of a unit attribute on funcs that are allowed to have a


        


More information about the Mlir-commits mailing list