]> granicus.if.org Git - clang/commit
[OpenMP] Add support for close map modifier in Clang
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Fri, 9 Aug 2019 21:42:13 +0000 (21:42 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Fri, 9 Aug 2019 21:42:13 +0000 (21:42 +0000)
commit64f1b0a2a8772566d57e272c78c052dc3f32c7be
tree6d8a072ba2a262d7e05ecd52ab7f3088efc5b04a
parent5264f163e21c3304450b36d1bc10a8c2f4a41aef
[OpenMP] Add support for close map modifier in Clang

Summary:
This patch adds support for the close map modifier in Clang.

This ensures that the new map type is marked and passed to the OpenMP runtime appropriately.

Additional regression tests have been merged from patch D55892 (author @saghir).

Reviewers: ABataev, caomhin, jdoerfert, kkwli0

Reviewed By: ABataev

Subscribers: kkwli0, Hahnfeld, saghir, guansong, cfe-commits

Tags: #clang

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

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