[llvm-branch-commits] [flang] [llvm] [mlir] [Flang][OpenMP][MLIR] Initial declare target to for variables implementation (PR #119589)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 20 09:13:58 PDT 2025


================
@@ -3664,6 +3690,30 @@ struct MapInfoData : MapInfosTy {
     MapInfosTy::append(CurInfo);
   }
 };
+
+enum class TargetDirective : uint32_t {
+  None = 0,
+  Target = 1,
+  TargetData = 2,
+  TargetEnterData = 3,
+  TargetExitData = 4,
+  TargetUpdate = 5
+};
----------------
agozillon wrote:

It's never been defined before, this is the only location it has ever been defined. The references are because it's layered on top of the other PR that also makes alterations to this file that utilise it. The PRs do not function without each other and depend on each other, hence the stack. In hindsight it might have been better to introduce this type in the previous PR though or in an alternative patch. 

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


More information about the llvm-branch-commits mailing list