]> granicus.if.org Git - clang/commit
[OPENMP, NVPTX] Globalization of the private redeclarations.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 20 Mar 2018 14:45:59 +0000 (14:45 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 20 Mar 2018 14:45:59 +0000 (14:45 +0000)
commit53912bffa018f111a2d87bdee85a77316cbf2f41
tree1f4a82896904dc29d2e4b0313d21856e7bfc4e80
parent34d9e8f0cdd532b7e3e5fd99633aa35896f56c45
[OPENMP, NVPTX] Globalization of the private redeclarations.

If the generic codegen is enabled and private copy of the original
variable escapes the declaration context, this private copy should be
globalized just like it was the original variable.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@327985 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Attr.td
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
lib/CodeGen/CGOpenMPRuntimeNVPTX.h
lib/CodeGen/CGStmtOpenMP.cpp
lib/Sema/SemaOpenMP.cpp
test/OpenMP/nvptx_data_sharing.cpp