[llvm-commits] [PATCH] opt -Os/-Oz

Chandler Carruth chandlerc at google.com
Tue May 15 14:43:54 PDT 2012


On Tue, May 15, 2012 at 12:42 PM, Evan Cheng <evan.cheng at apple.com> wrote:

> While adding opt options is useful, the thing we really need is to model
> -Oz as a new attribute. Right now we have OptimizeForSize, it really should
> be split into two: OptimizeForSizeAndSpeed and OptimizeForSize. The former
> is what OptimizeForSize currently is (for -Os), the later should be for -Oz.
>

Completely agree. The only reason for adding this is to enable testing of
-Oz-behavior at all; I think fixing the attributes relating to this should
be an orthogonal fix? (Any chance you're still interested in it Patrik?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120515/0b241d4a/attachment.html>


More information about the llvm-commits mailing list