]> granicus.if.org Git - clang/commit
[OpenMP] Avoid emitting maps for target link variables when unified memory is used
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Fri, 14 Jun 2019 17:58:26 +0000 (17:58 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Fri, 14 Jun 2019 17:58:26 +0000 (17:58 +0000)
commit8a5660d9acf30d389733e6d10fd0211b0afa9e1b
treef6bd21963ddb0069f093fc4186a6c576a02eeb42
parent2ec487f0bab49786c26a80080582e457fc2730b2
[OpenMP] Avoid emitting maps for target link variables when unified memory is used

Summary: This patch avoids the emission of maps for target link variables when unified memory is present.

Reviewers: ABataev, caomhin

Reviewed By: ABataev

Subscribers: guansong, jdoerfert, cfe-commits

Tags: #clang

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363435 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
lib/Sema/SemaOpenMP.cpp
test/OpenMP/nvptx_target_requires_unified_shared_memory.cpp