Re: Strenghten early inliner analysis

2015-01-01 Thread H.J. Lu
On Tue, Dec 30, 2014 at 8:31 AM, H.J. Lu hjl.to...@gmail.com wrote: On Tue, Dec 30, 2014 at 5:21 AM, Markus Trippelsdorf mar...@trippelsdorf.de 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

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) @@

Strenghten early inliner analysis

2014-12-30 Thread Jan Hubicka
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. Honza * ipa-inline-analyssi.c (edge_set_predicate): Reset size/time when

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 build on

Re: Strenghten early inliner analysis

2014-12-30 Thread H.J. Lu
On Tue, Dec 30, 2014 at 5:21 AM, Markus Trippelsdorf mar...@trippelsdorf.de 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.

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 hubi...@ucw.cz * ipa-inline-analysis.c (estimate_function_body_sizes): Do not free node params when