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
17 lines
178 B
Plaintext
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
|
|
|