[OPENMP][NVPTX] Enable support for lastprivates in SPMD constructs.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 21 Sep 2018 14:22:53 +0000 (14:22 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 21 Sep 2018 14:22:53 +0000 (14:22 +0000)
commit2adecff1aad61968c78b4ebeb0a5c2d016ea255f
tree19aaf0f80bc9953495ed87c3f778db098c233d39
parent022bf16b417f224eedfdee4d2927df9250956cec
[OPENMP][NVPTX] Enable support for lastprivates in SPMD constructs.

Previously we could not use lastprivates in SPMD constructs, patch
allows supporting lastprivates in SPMD with uninitialized runtime.

llvm-svn: 342738
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
clang/test/OpenMP/nvptx_SPMD_codegen.cpp
clang/test/OpenMP/nvptx_force_full_runtime_SPMD_codegen.cpp
clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp
clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp