r179216 - [driver] Add a -Ofast option, which enables -O3, -ffast-math, and

Chad Rosier mcrosier at apple.com
Wed Apr 10 16:02:40 PDT 2013


On Apr 10, 2013, at 3:56 PM, Eric Christopher <echristo at gmail.com> wrote:

> On Wed, Apr 10, 2013 at 2:26 PM, Chad Rosier <mcrosier at apple.com> wrote:
>> Author: mcrosier
>> Date: Wed Apr 10 16:26:02 2013
>> New Revision: 179216
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=179216&view=rev
>> Log:
>> [driver] Add a -Ofast option, which enables -O3, -ffast-math, and
>> -fstrict-aliasing.
>> rdar://13622687
>> 
> 
> Really? Why not -Ospec? or any other naming? :)

Well, gcc supports a flag by the same name with the same basic definition, per Evan.

Personally, I wanted -Obombdiggity, but Evan was against it.. j/k!

> Can you elaborate as to why we need this? ;)

Basically, the flag is designed for getting the max performance out of CPU benchmarks.

> -eric

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130410/f0a82178/attachment.html>


More information about the cfe-commits mailing list