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 1496bc6 commit 21470a9Copy full SHA for 21470a9
llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
@@ -1564,7 +1564,7 @@ void PGOUseFunc::populateCoverage(IndexedInstrProfReader *PGOReader) {
1564
// successors, e.g., when a block calls a function that may call exit(). In
1565
// those cases, BFI could find its successor to be covered while BCI could
1566
// find its successor to be dead.
1567
- auto &Cov = Coverage[&BB];
+ const bool &Cov = Coverage[&BB];
1568
if (Cov == IsBlockDead(BB).value_or(false)) {
1569
LLVM_DEBUG(
1570
dbgs() << "Found inconsistent block covearge for " << BB.getName()
0 commit comments