summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenPGO.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-04-15 20:37:41 +0000
committerJustin Bogner <mail@justinbogner.com>2014-04-15 20:37:41 +0000
commit3f0c79ce8df08f2cb56f48a3dfe3051305ade54d (patch)
treea6b8e6359bea490f4eb448d139e3058fa2e028df /clang/lib/CodeGen/CodeGenPGO.cpp
parent93da092f10312aa2f947a085f474be5f634b6d34 (diff)
downloadbcm5719-llvm-3f0c79ce8df08f2cb56f48a3dfe3051305ade54d.tar.gz
bcm5719-llvm-3f0c79ce8df08f2cb56f48a3dfe3051305ade54d.zip
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. llvm-svn: 206321
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenPGO.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenPGO.cpp b/clang/lib/CodeGen/CodeGenPGO.cpp
index 80c7e87de36..55a09e8db52 100644
--- a/clang/lib/CodeGen/CodeGenPGO.cpp
+++ b/clang/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>);
uint64_t Hash;
if (PGOData->getFunctionCounts(getFuncName(), Hash, *RegionCounts) ||
OpenPOWER on IntegriCloud