]> granicus.if.org Git - clang/commitdiff
CodeGen: Remove a comment that isn't in the right place
authorJustin Bogner <mail@justinbogner.com>
Tue, 15 Apr 2014 20:37:41 +0000 (20:37 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 15 Apr 2014 20:37:41 +0000 (20:37 +0000)
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

lib/CodeGen/CodeGenPGO.cpp

index 80c7e87de36da917352714a640777496141860f6..55a09e8db52e24e089b8bf1b6fa9c217544b53a9 100644 (file)
@@ -908,10 +908,6 @@ void CodeGenPGO::emitCounterIncrement(CGBuilderTy &Builder, unsigned Counter) {
 }
 
 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) ||