mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
We only do always-inlining at -O1; make opt reflect that.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132693 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a46a100945
commit
42d41fda08
@ -412,7 +412,7 @@ static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM,
|
|||||||
|
|
||||||
if (DisableInline) {
|
if (DisableInline) {
|
||||||
// No inlining pass
|
// No inlining pass
|
||||||
} else if (OptLevel) {
|
} else if (OptLevel > 1) {
|
||||||
unsigned Threshold = 225;
|
unsigned Threshold = 225;
|
||||||
if (OptLevel > 2)
|
if (OptLevel > 2)
|
||||||
Threshold = 275;
|
Threshold = 275;
|
||||||
|
Loading…
Reference in New Issue
Block a user