Enable EliminateAvailableExternally pass in the LTO pipeline.
authorTeresa Johnson <tejohnson@google.com>
Tue, 11 Aug 2015 16:26:41 +0000 (16:26 +0000)
committerTeresa Johnson <tejohnson@google.com>
Tue, 11 Aug 2015 16:26:41 +0000 (16:26 +0000)
commit84ee0a28453206b0b3ecd83c1d18d57c9aeb6e54
tree88c2e943b25a798e2ece9c5bac2f4ea87ca83e03
parentb4a4468d7bfb11cab0650abdf7a23d6f3eaa741f
Enable EliminateAvailableExternally pass in the LTO pipeline.

Summary:
For LTO we need to enable this pass in the LTO pipeline,
as it is skipped during the "-flto -c" compile step (when PrepareForLTO is
set).

Reviewers: rnk

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D11919

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@244622 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/PassManagerBuilder.cpp