Add new --param knobs for inliner

Jan Hubicka hubicka@ucw.cz
Mon Jan 7 20:03:00 GMT 2019


> On 1/5/19 11:58 AM, Jan Hubicka wrote:
> > @@ -791,7 +791,7 @@ want_inline_small_function_p (struct cgr
> >        ipa_hints hints = estimate_edge_hints (e);
> >        int big_speedup = -1; /* compute this lazily */
> >  
> > -      if (growth <= 0)
> > +      if (growth <= PARAM_VALUE (PARAM_VALUE (PARAM_MAX_INLINE_INSNS_SIZE)))
> 
> Extra PARAM_VALUE here.

This was fixed by the followup commit. Indeed a stupid bug.

Honza
> 
> -Pat
> 



More information about the Gcc-patches mailing list