]> granicus.if.org Git - clang/commit
[OPENMP] Support for codegen of private clause of target, host side
authorCarlo Bertolli <cbertol@us.ibm.com>
Wed, 16 Mar 2016 19:04:22 +0000 (19:04 +0000)
committerCarlo Bertolli <cbertol@us.ibm.com>
Wed, 16 Mar 2016 19:04:22 +0000 (19:04 +0000)
commit4ab9d6e02b29c24ca44638cc61b52cde2df4a888
tree0eede83f45ddacfa61bf10923b1ca00685c5c3be
parent081f300e64fef6b619f3be88331794289f267897
[OPENMP] Support for codegen of private clause of target, host side

This patch adds support for codegen of private clause of target and a regression test for host code generation, when the host is used as target device. I believe that code generation for nvptx backend would not require anything additional or different to what is done for the host.

http://reviews.llvm.org/D18105

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263654 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
test/OpenMP/target_private_codegen.cpp [new file with mode: 0644]