[all-commits] [llvm/llvm-project] 82f2c6: [OPENMP51] Add present modifier in defaultmap clause

Chi-Chun, Chen via All-commits all-commits at lists.llvm.org
Tue Dec 15 11:54:50 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 82f2c61ca084fec5bda631ac6638b50298ddd0f8
      https://github.com/llvm/llvm-project/commit/82f2c61ca084fec5bda631ac6638b50298ddd0f8
  Author: cchen <chichunchen844 at gmail.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M clang/include/clang/Basic/OpenMPKinds.def
    M clang/lib/Sema/SemaOpenMP.cpp
    M clang/test/OpenMP/target_ast_print.cpp
    R clang/test/OpenMP/target_defaultmap_codegen.cpp
    A clang/test/OpenMP/target_defaultmap_codegen_01.cpp
    A clang/test/OpenMP/target_defaultmap_codegen_02.cpp
    M clang/test/OpenMP/target_defaultmap_messages.cpp
    M clang/test/OpenMP/target_parallel_defaultmap_messages.cpp
    M clang/test/OpenMP/target_parallel_for_defaultmap_messages.cpp
    M clang/test/OpenMP/target_parallel_for_simd_defaultmap_messages.cpp
    M clang/test/OpenMP/target_simd_defaultmap_messages.cpp
    M clang/test/OpenMP/target_teams_defaultmap_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_defaultmap_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_defaultmap_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_parallel_for_simd_defaultmap_messages.cpp
    M clang/test/OpenMP/target_teams_distribute_simd_defaultmap_messages.cpp

  Log Message:
  -----------
  [OPENMP51] Add present modifier in defaultmap clause

Support present modifier in defaultmap by adding an extra dimension
for `ImplicitMap`. Therefore, we now create OMPMapClause in `ActOnOpenMPExecutableDirective`
based on both `maptype` and `maptype-modifier`.

Reviewed By: ABataev

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




More information about the All-commits mailing list