This comment also appears elsewhere where it actually makes sense, and
it's just confusing here.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206321
91177308-0d34-0410-b5e6-
96231b3b80d8
}
void CodeGenPGO::loadRegionCounts(PGOProfileData *PGOData) {
- // For now, ignore the counts from the PGO data file only if the number of
- // counters does not match. This could be tightened down in the future to
- // ignore counts when the input changes in various ways, e.g., by comparing a
- // hash value based on some characteristics of the input.
RegionCounts.reset(new std::vector<uint64_t>);
uint64_t Hash;
if (PGOData->getFunctionCounts(getFuncName(), Hash, *RegionCounts) ||