Adopt Properties to store operations inherent Attributes in the ControlFlow dialect
authorMehdi Amini <joker.eph@gmail.com>
Fri, 21 Apr 2023 06:26:00 +0000 (00:26 -0600)
committerMehdi Amini <joker.eph@gmail.com>
Tue, 9 May 2023 13:58:42 +0000 (14:58 +0100)
This is part of an on-going migration to adopt Properties inside MLIR.

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

mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td

index b172393..2fe93f8 100644 (file)
@@ -28,6 +28,7 @@ def ControlFlow_Dialect : Dialect {
     constructs. These constructs generally represent control flow directly
     on SSA blocks of a control flow graph.
   }];
+  let usePropertiesForAttributes = 1;
 
 }