Adopt Properties to store operations inherent Attributes in the Async dialect
authorMehdi Amini <joker.eph@gmail.com>
Fri, 21 Apr 2023 06:22:03 +0000 (00:22 -0600)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 8 May 2023 15:32:20 +0000 (08:32 -0700)
This is part of an on-going migration to adopt Properties inside MLIR.

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

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

index eb1d76a..465a0e0 100644 (file)
@@ -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