Skip to content

Commit 64588a8

Browse files
author
git apple-llvm automerger
committed
Merge commit '6ef445070547' from llvm.org/main into next
2 parents 77f38ec + 6ef4450 commit 64588a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/CGStmtOpenMP.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7956,10 +7956,10 @@ void CodeGenFunction::EmitOMPTeamsGenericLoopDirective(
79567956
[](CodeGenFunction &) { return nullptr; });
79577957
}
79587958

7959+
#ifndef NDEBUG
79597960
static void emitTargetTeamsLoopCodegenStatus(CodeGenFunction &CGF,
79607961
std::string StatusMsg,
79617962
const OMPExecutableDirective &D) {
7962-
#ifndef NDEBUG
79637963
bool IsDevice = CGF.CGM.getLangOpts().OpenMPIsTargetDevice;
79647964
if (IsDevice)
79657965
StatusMsg += ": DEVICE";
@@ -7972,8 +7972,8 @@ static void emitTargetTeamsLoopCodegenStatus(CodeGenFunction &CGF,
79727972
unsigned LineNo =
79737973
PLoc.isValid() ? PLoc.getLine() : SM.getExpansionLineNumber(L);
79747974
llvm::dbgs() << StatusMsg << ": " << FileName << ": " << LineNo << "\n";
7975-
#endif
79767975
}
7976+
#endif
79777977

79787978
static void emitTargetTeamsGenericLoopRegionAsParallel(
79797979
CodeGenFunction &CGF, PrePostActionTy &Action,

0 commit comments

Comments
 (0)