]> granicus.if.org Git - clang/commit
[OpenMP] Adjust map type bits according to latest spec and use zero size array sectio...
authorSamuel Antao <sfantao@us.ibm.com>
Thu, 26 May 2016 16:48:10 +0000 (16:48 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Thu, 26 May 2016 16:48:10 +0000 (16:48 +0000)
commit42720cb0acda06dd20caf809a0c4d931ad249dcf
treeee8e1e228955d5852c6223c5fd4c4ddeb521fb40
parentbd258e2fa8169719ea89b2ca678be65032b01711
[OpenMP] Adjust map type bits according to latest spec and use zero size array sections for pointers.

Summary: This patch changes the bits used to specify the map types according to the latest version of the libomptarget document and add the support for zero size array section when pointers are being implicitly mapped. This completes the missing new 4.5 map semantics.

Reviewers: hfinkel, carlo.bertolli, arpith-jacob, kkwli0, ABataev

Subscribers: caomhin, cfe-commits

Differential Revision: http://reviews.llvm.org/D20111

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270868 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
test/OpenMP/target_codegen.cpp
test/OpenMP/target_codegen_registration.cpp
test/OpenMP/target_data_codegen.cpp
test/OpenMP/target_enter_data_codegen.cpp
test/OpenMP/target_exit_data_codegen.cpp
test/OpenMP/target_firstprivate_codegen.cpp
test/OpenMP/target_map_codegen.cpp