From 4c871b7880bf08e5fd4145b3bc489bdb6059a2c2 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Wed, 12 Mar 2014 16:44:17 +0000 Subject: [PATCH] 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 --- lib/Transforms/IPO/InlineSimple.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/IPO/InlineSimple.cpp b/lib/Transforms/IPO/InlineSimple.cpp index e5f46d7a783..7141064b3b0 100644 --- a/lib/Transforms/IPO/InlineSimple.cpp +++ b/lib/Transforms/IPO/InlineSimple.cpp @@ -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; } -- 2.34.1