-
- Downloads
[OpenMP] Adjust map type bits according to latest spec and use zero size array...
[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
Showing
- lib/CodeGen/CGOpenMPRuntime.cpp 40 additions, 31 deletionslib/CodeGen/CGOpenMPRuntime.cpp
- test/OpenMP/target_codegen.cpp 6 additions, 6 deletionstest/OpenMP/target_codegen.cpp
- test/OpenMP/target_codegen_registration.cpp 12 additions, 12 deletionstest/OpenMP/target_codegen_registration.cpp
- test/OpenMP/target_data_codegen.cpp 5 additions, 5 deletionstest/OpenMP/target_data_codegen.cpp
- test/OpenMP/target_enter_data_codegen.cpp 5 additions, 5 deletionstest/OpenMP/target_enter_data_codegen.cpp
- test/OpenMP/target_exit_data_codegen.cpp 5 additions, 5 deletionstest/OpenMP/target_exit_data_codegen.cpp
- test/OpenMP/target_firstprivate_codegen.cpp 7 additions, 8 deletionstest/OpenMP/target_firstprivate_codegen.cpp
- test/OpenMP/target_map_codegen.cpp 268 additions, 153 deletionstest/OpenMP/target_map_codegen.cpp
Loading
Please register or sign in to comment