[PATCH] D83061: [OpenMP] Implement TR8 `present` map type modifier in Clang (1/2)
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 16 07:29:06 PDT 2020
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
More information about the cfe-commits
mailing list