Adopt Properties to store operations inherent Attributes in the PDL dialect
authorMehdi Amini <joker.eph@gmail.com>
Fri, 21 Apr 2023 06:54:25 +0000 (00:54 -0600)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 10 May 2023 13:53:38 +0000 (14:53 +0100)
This is part of an on-going migration to adopt Properties inside MLIR.

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

mlir/include/mlir/Dialect/PDL/IR/PDLDialect.td

index d405bec26634c539a670d489c4de8fbd53313a2a..812720cd4aadfc55cd6034ef270e0a81d856f25f 100644 (file)
@@ -66,6 +66,7 @@ def PDL_Dialect : Dialect {
   let cppNamespace = "::mlir::pdl";
 
   let useDefaultTypePrinterParser = 1;
+  let usePropertiesForAttributes = 1;
   let extraClassDeclaration = [{
     void registerTypes();
   }];