mirror of
https://github.com/intel/llvm.git
synced 2026-01-28 01:04:49 +08:00
[OpenMP][NFC] Remove untested code emitting no-op call
This commit is contained in:
@@ -900,11 +900,7 @@ CGOpenMPRuntimeGPU::CGOpenMPRuntimeGPU(CodeGenModule &CGM)
|
||||
void CGOpenMPRuntimeGPU::emitProcBindClause(CodeGenFunction &CGF,
|
||||
ProcBindKind ProcBind,
|
||||
SourceLocation Loc) {
|
||||
// Do nothing in case of SPMD mode and L0 parallel.
|
||||
if (getExecutionMode() == CGOpenMPRuntimeGPU::EM_SPMD)
|
||||
return;
|
||||
|
||||
CGOpenMPRuntime::emitProcBindClause(CGF, ProcBind, Loc);
|
||||
// Nothing to do.
|
||||
}
|
||||
|
||||
void CGOpenMPRuntimeGPU::emitNumThreadsClause(CodeGenFunction &CGF,
|
||||
|
||||
Reference in New Issue
Block a user