ABataev added a comment.

This new modifier must be enabed only for OpenMP 5.1, need to add the checks 
for OpenMP version. Also, this change should not affect the functionality of 
previous versions



================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:7043-7044
     OMP_MAP_CLOSE = 0x400,
+    /// Produce a runtime error if the data is not already allocated.
+    OMP_MAP_PRESENT = 0x800,
     /// The 16 MSBs of the flags indicate whether the entry is member of some
----------------
Better to use thу next value to avoid compatibility issues with XLC. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83061/new/

https://reviews.llvm.org/D83061



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to