On Wed, Oct 24, 2012 at 8:58 PM, Quentin Colombet <[email protected]> wrote:
> Hello,
>
> Following the adding of the new ForceSizeOpt attribute in LLVM (see commit 
> r1664220), I am making a patch for clang to set this attribute on each 
> function when the Oz optimization level is set.

Can you fix the attribute based on the code review feedback first? I'd
rather not start generating the IR when it's about to change.

>
> The idea is that optimizations will be able to adapt their behavior according 
> to this attribute. In a second step, not given in this patch, it would be 
> possible to make this attribute available for the end user, thus enabling 
> code size optimization focus for specific functions.
> The patch also contains a test case that check that the attribute is set when 
> compiled in Oz and not set otherwise.
>
> Quentin
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to