diff options
author | Dehao Chen <dehao@google.com> | 2017-09-19 21:18:14 +0000 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2017-09-19 21:18:14 +0000 |
commit | 62b9c33e1e243b6bf45e5958610b2f03c499b601 (patch) | |
tree | b06e1006529ce83594738ea3bcf6af8330b4876d /llvm/docs/conf.py | |
parent | c9c9748d99e663cb98663f7fbc6ac0b30bd8fa16 (diff) | |
download | bcm5719-llvm-62b9c33e1e243b6bf45e5958610b2f03c499b601.tar.gz bcm5719-llvm-62b9c33e1e243b6bf45e5958610b2f03c499b601.zip |
Import all inlined indirect call targets for SamplePGO.
Summary: In the ThinLTO compilation, if a function is inlined in the profiling binary, we need to inline it before annotation. If the callee is not available in the primary module, a first step is needed to import that callee function. For the current implementation, if the call is an indirect call, which has been promoted to >1 targets and inlined, SamplePGO will only import one target with the largest sample count. This patch fixed the bug to import all targets instead.
Reviewers: tejohnson, davidxl
Reviewed By: tejohnson
Subscribers: sanjoy, llvm-commits, mehdi_amini
Differential Revision: https://reviews.llvm.org/D36637
llvm-svn: 313678
Diffstat (limited to 'llvm/docs/conf.py')
0 files changed, 0 insertions, 0 deletions