diff options
| author | Teresa Johnson <tejohnson@google.com> | 2019-02-05 04:09:19 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2019-02-05 04:09:19 +0000 |
| commit | b0bf530fb5f1483ebf3d45c262404133eb6ad539 (patch) | |
| tree | ceee1faf5e77a895b0c7458a7fdd7de5130d2a96 /llvm/lib/Transforms | |
| parent | a9354b2f33730f4d4dddb0bdd0396c799f38ac7d (diff) | |
| download | bcm5719-llvm-b0bf530fb5f1483ebf3d45c262404133eb6ad539.tar.gz bcm5719-llvm-b0bf530fb5f1483ebf3d45c262404133eb6ad539.zip | |
[SamplePGO] More pipeline changes when flattened profile used in ThinLTO postlink
Summary:
Follow on to D54819/r351476.
We also don't need to perform extra InstCombine pass when we aren't
loading the sample profile in the ThinLTO backend because we have a
flattened sample profile.
Additionally, for consistency and clarity, when we aren't reloading the
sample profile, perform ICP in the same location as non-sample PGO
backends. To this end I have moved the ICP invocation for non-SamplePGO
ThinLTO down into buildModuleSimplificationPipeline (partly addresses
the FIXME where we were previously setting this up).
Reviewers: wmi
Subscribers: mehdi_amini, inglorion, eraman, steven_wu, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D57705
llvm-svn: 353135
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions

