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

Mehdi Amini llvmlistbot at llvm.org
Tue May 9 06:59:49 PDT 2023


Author: Mehdi Amini
Date: 2023-05-09T14:58:42+01:00
New Revision: 8e6581c5e2a76fbd07c4ee86fafdbdf89315c774

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

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

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

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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td b/mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
index b172393b632ac..2fe93f84683d3 100644
--- a/mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
+++ b/mlir/include/mlir/Dialect/ControlFlow/IR/ControlFlowOps.td
@@ -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;
 
 }
 


        


More information about the Mlir-commits mailing list