From 206fe8c782ce766fccf35c5769c33df331fe9e6c Mon Sep 17 00:00:00 2001 From: Justin Bogner Date: Tue, 15 Apr 2014 20:37:41 +0000 Subject: [PATCH] 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206321 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenPGO.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/CodeGen/CodeGenPGO.cpp b/lib/CodeGen/CodeGenPGO.cpp index 80c7e87de3..55a09e8db5 100644 --- a/lib/CodeGen/CodeGenPGO.cpp +++ b/lib/CodeGen/CodeGenPGO.cpp @@ -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 Hash; if (PGOData->getFunctionCounts(getFuncName(), Hash, *RegionCounts) || -- 2.40.0