Files
archived-llvm/test/Transforms/SampleProfile/Inputs/function_metadata.prof
Wei Mi 9ff4d237d0 [SampleFDO] Fix a bug in getOrCompHotCountThreshold/getOrCompColdCountThreshold
getOrCompHotCountThreshold/getOrCompColdCountThreshold introduced in
https://reviews.llvm.org/D45377 contain a bad mistake and will only return 1 or 0
instead of the true hot/cold cutoff value. The patch fixes the mistake. But the
mistake seems not causing big performance difference according to internal server
benchmarks testing.

Differential Revision: https://reviews.llvm.org/D50370


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@339162 91177308-0d34-0410-b5e6-96231b3b80d8
2018-08-07 18:13:10 +00:00

14 lines
185 B
Plaintext

test:10000:0
2: 100
3: 100
3: foo:1000
3: bar:200
4: baz:10
4: foo1:1000
1: 1000
4: foo2:1000
1: 1000 foo3:1000
test_liveness:10000:0
1: foo:1000
1: foo_available:1000