[llvm-commits] [llvm-gcc-4.2] r48795 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Evan Cheng
evan.cheng at apple.com
Wed Mar 26 01:10:52 PDT 2008
-Os doesn't mean halfing the inline threshold. We are doing a little
bit tuning to find some reasonable thresholds. Once that's set, -Os
inline threshold doesn't need to be adjusted in accordance to the
default threshold adjustment.
Evan
On Mar 26, 2008, at 12:50 AM, Duncan Sands wrote:
> Hi Devang,
>
>>>> + Args.push_back("--inline-threshold=200");
>>>
>>> Is it possible to get hold of the default value, divide it by two,
>>> and use that?
>>
>>
>> This is not "half the default value".
>
> if the default (according to the comment) is 400 and you are
> using 200, isn't that half the default? In another email Evan
> suggested dropping the default back down to 200, and this down
> to 100, which again is half.
>
> Confused,
>
> Duncan.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list