[OPENMP][NVPTX]Reduce memory usage in target region.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 12 Oct 2018 20:19:59 +0000 (20:19 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 12 Oct 2018 20:19:59 +0000 (20:19 +0000)
commit4ac58d1a4b5969ea9067755154b83238463eab76
tree87bf7da74e1922028662e817cd72d804e8d0675c
parent4b75df2ccaa2e76ef93685e952cff7e13a0b34f8
[OPENMP][NVPTX]Reduce memory usage in target region.

Additional reduction of the global memory usage in the target regions
without parallel regions.

llvm-svn: 344413
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h
clang/test/OpenMP/nvptx_data_sharing.cpp
clang/test/OpenMP/nvptx_parallel_codegen.cpp
clang/test/OpenMP/nvptx_teams_codegen.cpp