[llvm-commits] [llvm] r68455 - /llvm/trunk/Makefile.rules

Chris Lattner clattner at apple.com
Wed Apr 8 09:51:07 PDT 2009


On Apr 8, 2009, at 1:18 AM, Duncan Sands wrote:
> Hi Chris,
>>>> Avoid -O3 on Darwin for now.
>>>
>>> is this really a Darwin issue?  If it's not clear,
>>> how about using -O2 on all platforms?  People using
>>> FC8 have regularly been reporting miscompilations of
>>> llvm-2.5 when building with optimization for example.
>>> So perhaps this is a more general problem.
>>
>> I would be supportive of using -O2 everywhere, but this will
>> significantly impact our compile times (llvm will compile slower).
>
> did you measure this?  Since Darwin just switched from -O3
> to -O2 I guess the impact should now be clear for Darwin users.
> Is it really significant?

No.  We plan/hope to switch back to -O3 after we shake the bugs out of  
our GCC.

-Chris



More information about the llvm-commits mailing list