[llvm-commits] [llvm] r132693 - /llvm/trunk/tools/opt/opt.cpp
Eli Friedman
eli.friedman at gmail.com
Mon Jun 6 15:13:27 PDT 2011
Author: efriedma
Date: Mon Jun 6 17:13:27 2011
New Revision: 132693
URL: http://llvm.org/viewvc/llvm-project?rev=132693&view=rev
Log:
We only do always-inlining at -O1; make opt reflect that.
Modified:
llvm/trunk/tools/opt/opt.cpp
Modified: llvm/trunk/tools/opt/opt.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/opt/opt.cpp?rev=132693&r1=132692&r2=132693&view=diff
==============================================================================
--- llvm/trunk/tools/opt/opt.cpp (original)
+++ llvm/trunk/tools/opt/opt.cpp Mon Jun 6 17:13:27 2011
@@ -412,7 +412,7 @@
if (DisableInline) {
// No inlining pass
- } else if (OptLevel) {
+ } else if (OptLevel > 1) {
unsigned Threshold = 225;
if (OptLevel > 2)
Threshold = 275;
More information about the llvm-commits
mailing list