]> granicus.if.org Git - clang/commit
[OPENMP] Support `reduction` clause on target-based directives.
authorAlexey Bataev <a.bataev@hotmail.com>
Wed, 13 Dec 2017 17:31:39 +0000 (17:31 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Wed, 13 Dec 2017 17:31:39 +0000 (17:31 +0000)
commit3d430af98cedf0182327d2384badadd3c858ea5a
treefb66396f4884f69add9990d62fbec391ed90ecd6
parenta60bd62877c09215fc2d6bb3b32da89fe0b1cd4e
[OPENMP] Support `reduction` clause on target-based directives.

OpenMP 5.0 added support for `reduction` clause in target-based
directives. Patch adds this support to clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@320596 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/OpenMPKinds.def
lib/CodeGen/CGOpenMPRuntime.cpp
lib/Sema/SemaOpenMP.cpp
test/OpenMP/target_reduction_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_reduction_messages.cpp [new file with mode: 0644]
test/OpenMP/target_teams_distribute_reduction_codegen.cpp