Index: bolt/lib/Passes/MCF.cpp =================================================================== --- bolt/lib/Passes/MCF.cpp +++ bolt/lib/Passes/MCF.cpp @@ -264,6 +264,7 @@ continue; Pred->getBranchInfo(*BB).Count = Guessed; + GuessedArcs.insert(std::make_pair(Pred, BB)); return true; } llvm_unreachable("Expected unguessed arc");