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 825531e commit 7c183c7Copy full SHA for 7c183c7
clang/lib/CodeGen/CodeGenModule.cpp
@@ -7563,6 +7563,7 @@ bool CodeGenModule::teamsLoopCanBeParallelFor(const OMPExecutableDirective &D) {
7563
7564
void CodeGenModule::emitTargetTeamsLoopCodegenStatus(
7565
std::string StatusMsg, const OMPExecutableDirective &D, bool IsDevice) {
7566
+#ifndef NDEBUG
7567
if (IsDevice)
7568
StatusMsg += ": DEVICE";
7569
else
@@ -7574,6 +7575,7 @@ void CodeGenModule::emitTargetTeamsLoopCodegenStatus(
7574
7575
unsigned LineNo =
7576
PLoc.isValid() ? PLoc.getLine() : SM.getExpansionLineNumber(L);
7577
llvm::dbgs() << StatusMsg << ": " << FileName << ": " << LineNo << "\n";
7578
+#endif
7579
}
7580
7581
void CodeGenModule::moveLazyEmissionStates(CodeGenModule *NewBuilder) {
0 commit comments