mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
Revive SizeOptLevel-explaining comments that were dropped in r203669
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203675 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8a9f2fd7f5
commit
4c871b7880
@ -60,9 +60,9 @@ static int computeThresholdFromOptLevels(unsigned OptLevel,
|
||||
unsigned SizeOptLevel) {
|
||||
if (OptLevel > 2)
|
||||
return 275;
|
||||
if (SizeOptLevel == 1)
|
||||
if (SizeOptLevel == 1) // -Os
|
||||
return 75;
|
||||
if (SizeOptLevel == 2)
|
||||
if (SizeOptLevel == 2) // -Oz
|
||||
return 25;
|
||||
return 225;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user