aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-12-28 18:00:08 +0000
committerTeresa Johnson <tejohnson@google.com>2016-12-28 18:00:08 +0000
commitf9b17d4878ceb6d7c13d2e0d9d3185dfb3b22ee8 (patch)
tree70cb4026d22472436390c06390c59232b003f1be /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent26fd21ab80995f7f117df60958ad8954d315e1aa (diff)
downloadllvm-f9b17d4878ceb6d7c13d2e0d9d3185dfb3b22ee8.zip
llvm-f9b17d4878ceb6d7c13d2e0d9d3185dfb3b22ee8.tar.gz
llvm-f9b17d4878ceb6d7c13d2e0d9d3185dfb3b22ee8.tar.bz2
[ThinLTO] No need to rediscover imports in distributed backend
Summary: We can simply import all external values with summaries included in the individual index file created for the distributed backend job, as only those are added to the individual index file created by the WriteIndexesThinBackend (in addition to summaries for the original module, which are skipped here). While computing the cross module imports on this index would come to the same conclusion as the original thin link import logic, it is unnecessary work. And when tuning, it avoids the need to pass the same function importing parameters (e.g. -import-instr-limit) to both the thin link and the backends (otherwise they won't make the same decisions). Reviewers: mehdi_amini, pcc Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D28139 llvm-svn: 290674
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions