We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a000a8f commit bb118c4Copy full SHA for bb118c4
clang/lib/CodeGen/CodeGenModule.cpp
@@ -7657,6 +7657,7 @@ bool CodeGenModule::teamsLoopCanBeParallelFor(const OMPExecutableDirective &D) {
7657
7658
void CodeGenModule::emitTargetTeamsLoopCodegenStatus(
7659
std::string StatusMsg, const OMPExecutableDirective &D, bool IsDevice) {
7660
+#ifndef NDEBUG
7661
if (IsDevice)
7662
StatusMsg += ": DEVICE";
7663
else
@@ -7668,6 +7669,7 @@ void CodeGenModule::emitTargetTeamsLoopCodegenStatus(
7668
7669
unsigned LineNo =
7670
PLoc.isValid() ? PLoc.getLine() : SM.getExpansionLineNumber(L);
7671
llvm::dbgs() << StatusMsg << ": " << FileName << ": " << LineNo << "\n";
7672
+#endif
7673
}
7674
7675
void CodeGenModule::moveLazyEmissionStates(CodeGenModule *NewBuilder) {
0 commit comments