projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31b0719
)
[OPENMP] Simplify code, NFC.
author
Alexey Bataev
<a.bataev@hotmail.com>
Mon, 1 Oct 2018 14:40:06 +0000
(14:40 +0000)
committer
Alexey Bataev
<a.bataev@hotmail.com>
Mon, 1 Oct 2018 14:40:06 +0000
(14:40 +0000)
llvm-svn: 343483
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
b/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
index
14fd4a3
..
833b145
100644
(file)
--- a/
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
+++ b/
clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
@@
-781,10
+781,8
@@
static bool supportsSPMDExecutionMode(ASTContext &Ctx,
case OMPD_target_parallel:
case OMPD_target_parallel_for:
case OMPD_target_parallel_for_simd:
- return !hasParallelIfNumThreadsClause(Ctx, D);
case OMPD_target_teams_distribute_parallel_for:
case OMPD_target_teams_distribute_parallel_for_simd:
- // Distribute with lastprivates requires non-SPMD execution mode.
return !hasParallelIfNumThreadsClause(Ctx, D);
case OMPD_target_simd:
case OMPD_target_teams_distribute: