Files
clang-p2996/llvm/test/Transforms/PGOProfile/Inputs/fix_bfi.proftext
Rong Xu 0abd744597 [PGO] Use the sum of profile counts to fix the function entry count
Raw profile count values for each BB are not kept after profile
annotation. We record function entry count and branch weights
and use them to compute the count when needed.  This mechanism
works well in a perfect world, but often breaks in real programs,
because of number prevision, inconsistent profile, or bugs in
BFI). This patch uses sum of profile count values to fix
function entry count to make the BFI count close to real profile
counts.

Differential Revision: https://reviews.llvm.org/D61540
2020-12-16 13:37:43 -08:00

17 lines
178 B
Plaintext

# IR level Instrumentation Flag
:ir
sort_basket
# Func Hash:
948827210500800754
# Num Counters:
7
# Counter Values:
41017879
31616738
39637749
32743703
13338888
6990942
6013544