Re: [PATCH] Improve PR44563

2015-04-28 Thread Jan Hubicka
Hi, the g++.dg/tree-ssa/pr61034.C has turned out to be sensitive to PUSH_ARGS settings so fixing it on PPC64 caused x86_64 to regress. This patch introduce temporary so the code is consistent between PPC64 and x86_64. Comitted after ICR dicussion with Richard. Honza Index: ChangeLog

Re: [PATCH] Improve PR44563 more

2015-03-10 Thread Richard Biener
On Tue, 10 Mar 2015, Jakub Jelinek wrote: > On Tue, Mar 10, 2015 at 11:53:56AM +0100, Richard Biener wrote: > > 2015-03-09 Richard Biener > > > > PR middle-end/44563 > > * tree-inline.c (copy_cfg_body): Skip block mapped to entry/exit > > for redirect_all_calls. > > > > Index: gcc

Re: [PATCH] Improve PR44563 more

2015-03-10 Thread Jakub Jelinek
On Tue, Mar 10, 2015 at 11:53:56AM +0100, Richard Biener wrote: > 2015-03-09 Richard Biener > > PR middle-end/44563 > * tree-inline.c (copy_cfg_body): Skip block mapped to entry/exit > for redirect_all_calls. > > Index: gcc/tree-inline.c >

[PATCH] Improve PR44563 more

2015-03-10 Thread Richard Biener
This improves PR44563 a lot by not walking the block before/after the call being inlined for redirect_all_calls - that block will have up to 10 (unrelated) calls. Bootstrapped on x86_64-unknown-linux-gnu, regtest in progress. Will apply to trunk after that succeeded. Thanks, Richard. 2015-

Re: [PATCH] Improve PR44563

2015-03-10 Thread Richard Biener
On Tue, 10 Mar 2015, Jan Hubicka wrote: > > > > This reduces the time spent in cgraph call-site hash by providing > > inline version of htab_hash_pointer. > > > > Bootstrap / regtest on x86_64-unknown-linux-gnu in progress. > > > > Ok? > > > > Thanks, > > Richard. > > > > 2015-03-09 Richard

Re: [PATCH] Improve PR44563

2015-03-09 Thread Jan Hubicka
> > This reduces the time spent in cgraph call-site hash by providing > inline version of htab_hash_pointer. > > Bootstrap / regtest on x86_64-unknown-linux-gnu in progress. > > Ok? > > Thanks, > Richard. > > 2015-03-09 Richard Biener > > PR middle-end/44563 > * cgraph.h (struc

Re: [PATCH] Improve PR44563

2015-03-09 Thread Steven Bosscher
On Mon, Mar 9, 2015 at 4:12 PM, Richard Biener wrote: > ! /* This is a really poor hash function, but it is what the current code > uses, > ! so I am reusing it to avoid an additional axis in testing. */ This is a bit silly as a comment, because after your patch the "current" code is the

[PATCH] Improve PR44563

2015-03-09 Thread Richard Biener
This reduces the time spent in cgraph call-site hash by providing inline version of htab_hash_pointer. Bootstrap / regtest on x86_64-unknown-linux-gnu in progress. Ok? Thanks, Richard. 2015-03-09 Richard Biener PR middle-end/44563 * cgraph.h (struct cgraph_edge_hasher): Add