Skip to content

Commit cc4e333

Browse files
committed
Remove optimization remarks.
1 parent 639efd7 commit cc4e333

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2168,14 +2168,6 @@ void AsmPrinter::emitFunctionBody() {
21682168
// If the block ends with a call, we may need to emit a prefetch target
21692169
// at the end.
21702170
EmitPrefetchTargetSymbolIfNeeded();
2171-
if (PrefetchTargetIt != PrefetchTargets.end()) {
2172-
MachineOptimizationRemarkMissed R(
2173-
"insert-code-prefetch", "MissingPrefetchTarget",
2174-
MF->getFunction().getSubprogram(), &MBB);
2175-
R << "failed to map "
2176-
<< ore::NV("NumMissedTargets", PrefetchTargets.end() - PrefetchTargetIt)
2177-
<< " prefetch targets";
2178-
}
21792171

21802172
// We must emit temporary symbol for the end of this basic block, if either
21812173
// we have BBLabels enabled or if this basic blocks marks the end of a

0 commit comments

Comments
 (0)