[all-commits] [llvm/llvm-project] 60d71a: [OPENMP50]Allow overlapping mapping in target cons...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Feb 16 14:47:56 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60d71a286b5a03653fc99cd09423d603feb897de
      https://github.com/llvm/llvm-project/commit/60d71a286b5a03653fc99cd09423d603feb897de
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2021-02-16 (Tue, 16 Feb 2021)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/declare_mapper_codegen.cpp
    M clang/test/OpenMP/target_data_codegen.cpp
    M clang/test/OpenMP/target_enter_data_codegen.cpp
    M clang/test/OpenMP/target_is_device_ptr_messages.cpp
    M clang/test/OpenMP/target_map_codegen_29.cpp
    M clang/test/OpenMP/target_map_codegen_31.cpp
    M clang/test/OpenMP/target_map_codegen_32.cpp
    M clang/test/OpenMP/target_map_messages.cpp
    M clang/test/OpenMP/target_parallel_for_map_messages.cpp
    M clang/test/OpenMP/target_parallel_for_simd_map_messages.cpp
    M clang/test/OpenMP/target_parallel_map_messages.cpp
    M clang/test/OpenMP/target_simd_map_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_map_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_map_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_map_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_map_messages.cpp
    M clang/test/OpenMP/target_teams_map_messages.cpp
    M clang/test/OpenMP/target_update_codegen.cpp
    M openmp/libomptarget/src/omptarget.cpp
    A openmp/libomptarget/test/mapping/declare_mapper_nested_mappers.cpp

  Log Message:
  -----------
  [OPENMP50]Allow overlapping mapping in target constructs.

OpenMP 5.0 removed a lot of restriction for overlapped mapped items
comparing to OpenMP 4.5. Patch restricts the checks for overlapped data
mappings only for OpenMP 4.5 and less and reorders mapping of the
arguments so, that present and alloc mappings are processed first and
then all others.

Differential Revision: https://reviews.llvm.org/D86119




More information about the All-commits mailing list