summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-08-02 01:28:31 +0000
committerDehao Chen <dehao@google.com>2017-08-02 01:28:31 +0000
commit89d322601932f515b824ead1c809591db8005655 (patch)
treeedebd5d2981c2e79a693e26d5deb37adfb3546c8 /llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
parentf23ae4fbe9287a824f93176afaddab08f07924a9 (diff)
downloadbcm5719-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/Target/AMDGPU/AMDGPUTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud