[llvm-commits] [PATCH] Add an attribute for Oz related optimizations

Quentin Colombet qcolombet at apple.com
Thu Oct 18 11:01:11 PDT 2012


Hi,

The attached patch is the first step to have a better control on Oz related optimizations.
The Oz optimization level focuses on code size, thus I propose to add an attribute called ForceSizeOpt.

The idea would be to set this attribute to all functions when the Oz optimization level is On (modification not available in this patch) and slowly tune the existing optimizations according to this attribute.

This is my first patch to llvm, so do not hesitate to make comments please.

-Quentin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ForceSizeOpt.patch
Type: application/octet-stream
Size: 3504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121018/45d42756/attachment.obj>


More information about the llvm-commits mailing list