[Mlir-commits] [mlir] [mlir][acc] Add LegalizeDataValues support for DeclareEnterOp (PR #138008)

Razvan Lupusoru llvmlistbot at llvm.org
Wed Apr 30 11:49:01 PDT 2025


================
@@ -58,7 +58,8 @@
 #define ACC_COMPUTE_CONSTRUCT_AND_LOOP_OPS                                     \
   ACC_COMPUTE_CONSTRUCT_OPS, mlir::acc::LoopOp
 #define ACC_DATA_CONSTRUCT_STRUCTURED_OPS                                      \
-  mlir::acc::DataOp, mlir::acc::DeclareOp, mlir::acc::HostDataOp
+  mlir::acc::DataOp, mlir::acc::DeclareOp, mlir::acc::HostDataOp,              \
+      mlir::acc::DeclareEnterOp
----------------
razvanlupusoru wrote:

This should not be added to this list because although it can result from a structured declare construct, the operation itself allows unstructured flow.

https://github.com/llvm/llvm-project/pull/138008


More information about the Mlir-commits mailing list