diff options
| author | Dehao Chen <dehao@google.com> | 2017-08-02 01:28:31 +0000 |
|---|---|---|
| committer | Dehao Chen <dehao@google.com> | 2017-08-02 01:28:31 +0000 |
| commit | 89d322601932f515b824ead1c809591db8005655 (patch) | |
| tree | edebd5d2981c2e79a693e26d5deb37adfb3546c8 /llvm/lib/Object/SymbolicFile.cpp | |
| parent | f23ae4fbe9287a824f93176afaddab08f07924a9 (diff) | |
| download | bcm5719-llvm-89d322601932f515b824ead1c809591db8005655.tar.gz bcm5719-llvm-89d322601932f515b824ead1c809591db8005655.zip | |
Update the new PM pipeline to make ICP aware if it is SamplePGO build.
Summary: In ThinLTO backend compile, OPTOptions are not set so that the ICP in ThinLTO backend does not know if it is a SamplePGO build, in which profile count needs to be annotated directly on call instructions. This patch cleaned up the PGOOptions handling logic and passes down PGOOptions to ThinLTO backend.
Reviewers: chandlerc, tejohnson, davidxl
Reviewed By: chandlerc
Subscribers: sanjoy, llvm-commits, mehdi_amini
Differential Revision: https://reviews.llvm.org/D36052
llvm-svn: 309780
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions

