]> granicus.if.org Git - llvm/commit
Move summary dead stripping before regular LTO.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 2 Jun 2017 18:24:17 +0000 (18:24 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Fri, 2 Jun 2017 18:24:17 +0000 (18:24 +0000)
commita667b70dbedb0b9864ec4ffa0a7c90c1d08f578e
tree20d3b9a288d09ec61ed233bfe3fe3379e5dc6674
parentf1a1cf19c174f512dcd80b57841d1fb814a6a183
Move summary dead stripping before regular LTO.

This way dead stripping results are recorded in combined summary and
can be used in regular LTO passes.

Differential Revision: https://reviews.llvm.org/D33615

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304577 91177308-0d34-0410-b5e6-96231b3b80d8
lib/LTO/LTO.cpp
test/ThinLTO/X86/deadstrip.ll