Current implementation promotes a non-cold function in the SampleFDO profile into a hot function in the FDO profile. This is too aggressive. This patch promotes a hot functions in the SampleFDO profile into a hot function, and a warm function in SampleFDO into a warm function in FDO. Differential Revision: https://reviews.llvm.org/D132601
25 lines
163 B
Plaintext
25 lines
163 B
Plaintext
# :ir is the flag to indicate this is IR level profile.
|
|
:ir
|
|
test_simple_for
|
|
1063705162469825436
|
|
2
|
|
0
|
|
0
|
|
|
|
foo
|
|
2582734
|
|
4
|
|
1000
|
|
270
|
|
180
|
|
760
|
|
|
|
boo
|
|
2582734
|
|
4
|
|
100
|
|
27
|
|
10
|
|
70
|
|
|