OSDN Git Service

[PassManager] Improve the interaction between -O2 and ThinLTO.
authorDavide Italiano <davide@freebsd.org>
Thu, 5 Oct 2017 18:23:25 +0000 (18:23 +0000)
committerDavide Italiano <davide@freebsd.org>
Thu, 5 Oct 2017 18:23:25 +0000 (18:23 +0000)
commitbfe76f9ddff5392fb49ef0c19c3265042a69f5d5
tree4b7ec55f90b8036d90f2bd5d5129d2ed8a242983
parent300b37a6ada03c0eae8f1a9ce95cd916ae8b0429
[PassManager] Improve the interaction between -O2 and ThinLTO.

Run GDCE slightly later so that we don't have to repeat it
twice when preparing for Thin. Thanks to Mehdi for the suggestion.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314999 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/PassManagerBuilder.cpp
test/Other/pass-pipelines.ll