Evidently not, at least not completely. I see codegen differences with this patch (and at least one significant improvement). <br><br>James <br><div class="gmail_quote"><div dir="ltr">On Fri, 18 Dec 2015 at 16:31, Joerg Sonnenberger via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, Dec 18, 2015 at 03:59:03PM +0000, James Molloy via cfe-commits wrote:<br>
> This is about the standard generic optimizer flags. Currently when using<br>
> -flto, the backend behaves always as if "-O2" were passed (because this is<br>
> the default codegen optimization level inside the gold plugin and it's<br>
> never overridden!). So CodeGenOpt::Aggressive is never picked, and that can<br>
> significantly change the backend's behaviour.<br>
<br>
I thought we moved to per-function optimissation attributes?<br>
<br>
Joerg<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div>