forked from OSchip/llvm-project
![]() When a flat CS profile is converted to a nested profile, the call target samples for inlined callee contexts are left over in the callsite target map. This could cause indirect call promotion to function improperly. One issue is that the inlined callsites are treated with double amount of samples. The other is the inlined callsites are reconsidered for subsequent PGO ICP. I'm fixing this by excluding call targets from the callsite for inlined targets. While fixing this I found that callsite target sum and the number of body samples for that callsite could be mismatched. {D122609} has an explanation and a fix for that on llvm-profgen side. For now I'm tolerating it in this change. Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D125266 |
||
---|---|---|
.. | ||
Inputs | ||
binary-ids-padding.test | ||
c-general.test | ||
compact-sample.proftext | ||
compat.proftext | ||
count-mismatch.proftext | ||
cs-sample-nested-profile.test | ||
cs-sample-profile.test | ||
cs-sample-trimmer.test | ||
csprof-dump.test | ||
cutoff.test | ||
errors.test | ||
forward-compatible.test | ||
gcc-gcov-sample-profile.test | ||
general.proftext | ||
hash-mismatch.proftext | ||
header-directives.test | ||
inline-samples.test | ||
input-dir.test | ||
input-filenames.test | ||
instr-remap.test | ||
insufficient-binary-ids-size.test | ||
invalid-profdata.test | ||
invalid-profile-gen-zeros.proftext | ||
large-binary-id-size.test | ||
lit.local.cfg | ||
malformed-not-space-for-another-header.test | ||
malformed-num-counters-zero.test | ||
malformed-ptr-to-counter-array.test | ||
memop-size-prof.proftext | ||
memprof-basic.test | ||
memprof-inline.test | ||
memprof-merge.test | ||
memprof-multi.test | ||
merge-incompatible.test | ||
merge-probe-profile.test | ||
merge_empty_profile.test | ||
misaligned-binary-ids-size.test | ||
multiple-inputs.test | ||
multiple-profdata-merge.test | ||
nocompress.test | ||
overflow-instr.test | ||
overflow-sample.test | ||
overlap.test | ||
overlap_cs.test | ||
overlap_vp.test | ||
profile-symbol-list-compress.test | ||
profile-symbol-list.test | ||
raw-32-bits-be.test | ||
raw-32-bits-le.test | ||
raw-64-bits-be.test | ||
raw-64-bits-le.test | ||
raw-magic-but-no-header.test | ||
raw-two-profiles.test | ||
roundtrip-compress.test | ||
roundtrip.test | ||
same-filename.test | ||
sample-fs.test | ||
sample-hot-func-list.test | ||
sample-overlap.test | ||
sample-profile-basic.test | ||
sample-remap.test | ||
sample-summary.test | ||
show-covered.test | ||
show-instr-level.test | ||
show-prof-info.test | ||
suppl-instr-with-sample.test | ||
text-dump.test | ||
text-format-errors.test | ||
threaded-count-mismatch.test | ||
value-prof.proftext | ||
weight-instr.test | ||
weight-sample.test |