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
14 lines
111 B
Plaintext
14 lines
111 B
Plaintext
test_simple_for:40:40
|
|
1: 10
|
|
2: 10
|
|
3: 10
|
|
4: 10
|
|
|
|
moo:1000:1000
|
|
1: 2000
|
|
2: 2000
|
|
3: 2000
|
|
4: 2000
|
|
5: 2000
|
|
|