diff options
author | Teresa Johnson <tejohnson@google.com> | 2016-10-31 22:12:21 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2016-10-31 22:12:21 +0000 |
commit | 002af9bbcec16fea530d161b23cc2589fe0798b7 (patch) | |
tree | e2b56c65d57f8a26b2ab8625fb191a1b388a4618 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 67eda2ad1d2275bacbf4afb9f50b341aec6ca17d (diff) | |
download | bcm5719-llvm-002af9bbcec16fea530d161b23cc2589fe0798b7.tar.gz bcm5719-llvm-002af9bbcec16fea530d161b23cc2589fe0798b7.zip |
[ThinLTO] Disable importing and other cross-module optis at -O0
Summary:
There is no point to importing at -O0, since we won't inline. We should
also disable other cross-module optimizations.
(Plan to backport this fix to the 3.9 branch to fix PR30774)
Reviewers: pcc
Subscribers: johanengelen, mehdi_amini
Differential Revision: https://reviews.llvm.org/D25918
llvm-svn: 285648
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions