Skip to content

Commit

Permalink
Revive SizeOptLevel-explaining comments that were dropped in r203669
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203675 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
eliben committed Mar 12, 2014
1 parent 8a9f2fd commit 4c871b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Transforms/IPO/InlineSimple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4c871b7

Please sign in to comment.