[OPENMP] Simplify code, NFC.

llvm-svn: 343483
This commit is contained in:
Alexey Bataev 2018-10-01 14:40:06 +00:00
parent 31b07198f1
commit 4da1d5c33f
1 changed files with 0 additions and 2 deletions

View File

@ -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: