[PATCH] D20111: [OpenMP] Adjust map type bits according to latest spec and use zero size array sections for pointers.
Samuel Antao via cfe-commits
cfe-commits at lists.llvm.org
Tue May 10 09:18:40 PDT 2016
sfantao created this revision.
sfantao added reviewers: ABataev, hfinkel, carlo.bertolli, arpith-jacob, kkwli0.
sfantao added subscribers: cfe-commits, caomhin.
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.
http://reviews.llvm.org/D20111
Files:
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20111.56730.patch
Type: text/x-patch
Size: 59658 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160510/778ffb49/attachment-0001.bin>
More information about the cfe-commits
mailing list