]> granicus.if.org Git - clang/commit
[OpenMP] Extend NVPTX SPMD implementation of combined constructs
authorCarlo Bertolli <cbertol@us.ibm.com>
Wed, 28 Feb 2018 20:48:35 +0000 (20:48 +0000)
committerCarlo Bertolli <cbertol@us.ibm.com>
Wed, 28 Feb 2018 20:48:35 +0000 (20:48 +0000)
commitc6c9776cf99dec199dfe2790b25bd2bb8915ebe5
tree317dd88bb75d93a9150e119f776a78a7ffeec5e7
parentebeb737dbea833866a6cbfa66a9876083156baad
[OpenMP] Extend NVPTX SPMD implementation of combined constructs

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

This patch extends the SPMD implementation to all target constructs and guards this implementation under a new flag.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326368 91177308-0d34-0410-b5e6-96231b3b80d8
16 files changed:
include/clang/Basic/LangOptions.def
include/clang/Driver/Options.td
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/Driver/ToolChains/Clang.cpp
lib/Frontend/CompilerInvocation.cpp
test/OpenMP/nvptx_target_parallel_codegen.cpp
test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp
test/OpenMP/nvptx_target_parallel_proc_bind_codegen.cpp
test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
test/OpenMP/nvptx_target_simd_codegen.cpp [new file with mode: 0644]
test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp [new file with mode: 0644]
test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp [new file with mode: 0644]
test/OpenMP/nvptx_target_teams_distribute_simd_codegen.cpp [new file with mode: 0644]
test/OpenMP/target_parallel_debug_codegen.cpp
test/OpenMP/target_parallel_for_debug_codegen.cpp