Skip to content

Commit ab34d71

Browse files
committed
[OpenMP][NFC] Remove untested code emitting no-op call
1 parent 289a0f2 commit ab34d71

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -900,11 +900,7 @@ CGOpenMPRuntimeGPU::CGOpenMPRuntimeGPU(CodeGenModule &CGM)
900900
void CGOpenMPRuntimeGPU::emitProcBindClause(CodeGenFunction &CGF,
901901
ProcBindKind ProcBind,
902902
SourceLocation Loc) {
903-
// Do nothing in case of SPMD mode and L0 parallel.
904-
if (getExecutionMode() == CGOpenMPRuntimeGPU::EM_SPMD)
905-
return;
906-
907-
CGOpenMPRuntime::emitProcBindClause(CGF, ProcBind, Loc);
903+
// Nothing to do.
908904
}
909905

910906
void CGOpenMPRuntimeGPU::emitNumThreadsClause(CodeGenFunction &CGF,

0 commit comments

Comments
 (0)