]> granicus.if.org Git - clang/commit
[OPENMP, NVPTX] Codegen for target distribute parallel combined
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 20 Mar 2018 15:41:05 +0000 (15:41 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 20 Mar 2018 15:41:05 +0000 (15:41 +0000)
commit2c97b35e76515feb5629bbf6ed16ffd5da257c50
tree84b22866c49c95700c7f64b8479c74a86d331cc9
parent2f7c11b4591a923041ecb714e3c082b6a88ef45f
[OPENMP, NVPTX] Codegen for target distribute parallel combined
constructs in generic mode.

Fixed codegen for distribute parallel combined constructs. We have to
pass and read the shared lower and upper bound from the distribute
region in the inner parallel region. Patch is for generic mode.

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