summaryrefslogtreecommitdiff
path: root/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
commit206fe8c782ce766fccf35c5769c33df331fe9e6c (patch)
tree0be5efd603b50cbd74f41ae14584903ca07dff5f /lib/CodeGen/CodeGenPGO.cpp
parentef4c238364a1d25ea1bab20ed1fe8562dec087a2 (diff)
downloadclang-206fe8c782ce766fccf35c5769c33df331fe9e6c.tar.gz
clang-206fe8c782ce766fccf35c5769c33df331fe9e6c.tar.bz2
clang-206fe8c782ce766fccf35c5769c33df331fe9e6c.tar.xz
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
Diffstat (limited to 'lib/CodeGen/CodeGenPGO.cpp')
-rw-r--r--lib/CodeGen/CodeGenPGO.cpp4
1 files changed, 0 insertions, 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>);
uint64_t Hash;
if (PGOData->getFunctionCounts(getFuncName(), Hash, *RegionCounts) ||