projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a46a100
)
We only do always-inlining at -O1; make opt reflect that.
author
Eli Friedman
<eli.friedman@gmail.com>
Mon, 6 Jun 2011 22:13:27 +0000
(22:13 +0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Mon, 6 Jun 2011 22:13:27 +0000
(22:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132693
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/opt/opt.cpp
patch
|
blob
|
history
diff --git
a/tools/opt/opt.cpp
b/tools/opt/opt.cpp
index 12f7fcb72bbadc0d6e63e50af71e91522384ef38..aa375c58899062ee3916f01b7d51090f90e50d12 100644
(file)
--- a/
tools/opt/opt.cpp
+++ b/
tools/opt/opt.cpp
@@
-412,7
+412,7
@@
static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM,
if (DisableInline) {
// No inlining pass
- } else if (OptLevel) {
+ } else if (OptLevel
> 1
) {
unsigned Threshold = 225;
if (OptLevel > 2)
Threshold = 275;