r206321 - CodeGen: Remove a comment that isn't in the right place
Justin Bogner
mail at justinbogner.com
Tue Apr 15 13:37:41 PDT 2014
Author: bogner
Date: Tue Apr 15 15:37:41 2014
New Revision: 206321
URL: http://llvm.org/viewvc/llvm-project?rev=206321&view=rev
Log:
CodeGen: Remove a comment that isn't in the right place
This comment also appears elsewhere where it actually makes sense, and
it's just confusing here.
Modified:
cfe/trunk/lib/CodeGen/CodeGenPGO.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenPGO.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenPGO.cpp?rev=206321&r1=206320&r2=206321&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenPGO.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenPGO.cpp Tue Apr 15 15:37:41 2014
@@ -908,10 +908,6 @@ void CodeGenPGO::emitCounterIncrement(CG
}
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) ||
More information about the cfe-commits
mailing list