Evidently not, at least not completely. I see codegen differences with this
patch (and at least one significant improvement).

James
On Fri, 18 Dec 2015 at 16:31, Joerg Sonnenberger via cfe-commits <
cfe-commits@lists.llvm.org> wrote:

> On Fri, Dec 18, 2015 at 03:59:03PM +0000, James Molloy via cfe-commits
> wrote:
> > This is about the standard generic optimizer flags. Currently when using
> > -flto, the backend behaves always as if "-O2" were passed (because this
> is
> > the default codegen optimization level inside the gold plugin and it's
> > never overridden!). So CodeGenOpt::Aggressive is never picked, and that
> can
> > significantly change the backend's behaviour.
>
> I thought we moved to per-function optimissation attributes?
>
> Joerg
> _______________________________________________
> cfe-commits mailing list
> cfe-commits@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
>
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to