mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-13 04:24:40 +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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user