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:
Eli Bendersky 2014-03-12 16:44:17 +00:00
parent 8a9f2fd7f5
commit 4c871b7880

View File

@ -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;
}