Re: Strenghten early inliner analysis

2015-01-01 Thread H.J. Lu
On Tue, Dec 30, 2014 at 8:31 AM, H.J. Lu wrote: > On Tue, Dec 30, 2014 at 5:21 AM, Markus Trippelsdorf > wrote: >> On 2014.12.30 at 12:37 +0100, Jan Hubicka wrote: >>> Hi, >>> this patch enables inline predicates for early inlining, too. This is easy >>> to do because >>> we do have call stmt a

Re: Strenghten early inliner analysis

2014-12-31 Thread Jan Hubicka
Hi, this patch fixes the slp testcase that now requires no early inlining Index: testsuite/gcc.dg/vect/slp-9.c === --- testsuite/gcc.dg/vect/slp-9.c (revision 219107) +++ testsuite/gcc.dg/vect/slp-9.c (working copy) @@ -1,4

Re: Strenghten early inliner analysis

2014-12-30 Thread Jan Hubicka
Hi, the problem is that we free node params when early analysis is called late via add_new_function. Bootstrapped/regtsted x86_64-linux, comitted. Honza 2014-12-30 Jan Hubicka * ipa-inline-analysis.c (estimate_function_body_sizes): Do not free node params when called late wit

Re: Strenghten early inliner analysis

2014-12-30 Thread H.J. Lu
On Tue, Dec 30, 2014 at 5:21 AM, Markus Trippelsdorf wrote: > On 2014.12.30 at 12:37 +0100, Jan Hubicka wrote: >> Hi, >> this patch enables inline predicates for early inlining, too. This is easy >> to do because >> we do have call stmt around and know if parameters are constants. >> >> Bootstra

Re: Strenghten early inliner analysis

2014-12-30 Thread Markus Trippelsdorf
On 2014.12.30 at 12:37 +0100, Jan Hubicka wrote: > Hi, > this patch enables inline predicates for early inlining, too. This is easy > to do because > we do have call stmt around and know if parameters are constants. > > Bootstrapped/regtested x86_64-linux, comitted. This causes Firefox LTO buil