[PATCH] D84422: [OpenMP] Fix `present` for exit from `omp target data`
Joel E. Denny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 27 15:39:07 PDT 2020
jdenny updated this revision to Diff 281067.
jdenny edited the summary of this revision.
jdenny added a comment.
Rewrite patch as discussed: instead of generating different runtime calls for the end of an `omp target data` vs. the beginning of an `omp target exit data` so that the runtime can determine when to ignore `present`, change Clang to filter `present` from the map types at the end of an `omp target data`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84422/new/
https://reviews.llvm.org/D84422
Files:
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/test/OpenMP/target_data_codegen.cpp
openmp/libomptarget/src/omptarget.cpp
openmp/libomptarget/test/mapping/present/target_data_at_exit.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84422.281067.patch
Type: text/x-patch
Size: 14131 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200727/f34381ed/attachment.bin>
More information about the cfe-commits
mailing list