Re: Inliner badness metric tweak

2015-04-01 Thread Jan Hubicka
> > This caused: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65654 I will look into it; the assert checks that the expected function growth match the real growth after inlining, so it is a semi-latent bug hit by this patch. Honza > > -- > H.J.

Re: Inliner badness metric tweak

2015-04-01 Thread H.J. Lu
On Sun, Mar 29, 2015 at 6:45 PM, Jan Hubicka wrote: > Hi, > this patch makes inline metric to be >estimate_speedup > (over) > edge_growth^2*overall_growth > > This is intended to make stronger push on inliner to preffer functions with > smaller growth and d

Re: Inliner badness metric tweak

2015-03-30 Thread Richard Biener
On Mon, Mar 30, 2015 at 3:45 AM, Jan Hubicka wrote: > Hi, > this patch makes inline metric to be >estimate_speedup > (over) > edge_growth^2*overall_growth > > This is intended to make stronger push on inliner to preffer functions with > smaller growth and d

Inliner badness metric tweak

2015-03-29 Thread Jan Hubicka
Hi, this patch makes inline metric to be estimate_speedup (over) edge_growth^2*overall_growth This is intended to make stronger push on inliner to preffer functions with smaller growth and do not take overall growth (that is expected unit growth after inlini