From 4da1d5c33f1e58f7736c0ad16635b83371f98a32 Mon Sep 17 00:00:00 2001 From: Alexey Bataev Date: Mon, 1 Oct 2018 14:40:06 +0000 Subject: [OPENMP] Simplify code, NFC. llvm-svn: 343483 --- clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'clang/lib/CodeGen') diff --git a/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp b/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp index 14fd4a3113b..833b145f045 100644 --- 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: -- cgit v1.2.3