llvm-project/llvm/test/Transforms/SampleProfile
Dehao Chen 5d2a1a5045 Include already promoted counts when computing SUM for VP.
Summary: When computing the SUM for indirect call promotion, if the callsite is already promoted in the profile, it will be promoted before ICP. In the current implementation, ICP only sees remaining counts in SUM. This may cause extra indirect call targets being promoted. This patch updates the SUM to include the counts already promoted earlier. This way we do not end up promoting too many indirect call targets.

Reviewers: tejohnson

Reviewed By: tejohnson

Subscribers: llvm-commits, sanjoy

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

llvm-svn: 317502
2017-11-06 19:52:49 +00:00
..
Inputs Include GUIDs from the same module when computing GUIDs that needs to be imported. 2017-11-01 20:26:47 +00:00
branch.ll Do not set branch weight if the branch weight annotation is present. 2017-03-23 14:43:10 +00:00
calls.ll Remove the sample pgo annotation heuristic that uses call count to annotate basic block count. 2017-03-06 17:49:59 +00:00
cov-zero-samples.ll Canonicalize the representation of empty an expression in DIGlobalVariableExpression 2017-08-30 18:06:51 +00:00
coverage-warning.ll
discriminator.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
early-inline.ll Invoke GetInlineCost for legality check before inline functions in SampleProfileLoader. 2017-09-14 17:29:56 +00:00
entry_counts.ll
fnptr.ll Remove the sample pgo annotation heuristic that uses call count to annotate basic block count. 2017-03-06 17:49:59 +00:00
function_metadata.ll Include GUIDs from the same module when computing GUIDs that needs to be imported. 2017-11-01 20:26:47 +00:00
gcc-simple.ll
indirect-call-gcc.ll Fix an obvious bug in SampleProfileReaderGCC. 2017-02-22 17:27:21 +00:00
indirect-call.ll Include already promoted counts when computing SUM for VP. 2017-11-06 19:52:49 +00:00
inline-act.ll
inline-combine.ll
inline-coverage.ll [OptDiag] Updating Remarks in SampleProfile 2017-08-11 21:12:04 +00:00
inline.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
nodebug.ll
nolocinfo.ll
offset.ll
propagate.ll Use base discriminator in sample pgo profile matching. 2017-02-23 18:27:45 +00:00
remarks.ll Keep Optimization Remark Yaml in NewPM 2017-08-20 01:30:45 +00:00
summary.ll
syntax.ll