> 2015-03-31 15:32 GMT+03:00 Ilya Enkovich :
> > 2015-03-29 18:43 GMT+03:00 Jan Hubicka :
> >> +static bool
> >> +set_single_call_flag (cgraph_node *node, void *)
> >> +{
> >> + cgraph_edge *cs = node->callers;
> >> + /* Local thunks can be handled transparently, skip them. */
> >> + while (cs
2015-03-31 15:32 GMT+03:00 Ilya Enkovich :
> 2015-03-29 18:43 GMT+03:00 Jan Hubicka :
>> +static bool
>> +set_single_call_flag (cgraph_node *node, void *)
>> +{
>> + cgraph_edge *cs = node->callers;
>> + /* Local thunks can be handled transparently, skip them. */
>> + while (cs && cs->caller->t
2015-03-29 18:43 GMT+03:00 Jan Hubicka :
> Hi,
> this patch improve crafty performance by avoiding ipa-cp clonning of
> Search function that specializes the first iteration of the recursion.
> The patch is by Martin, I only tested it and cleaned up code in count_callers
> and set_single_call_flag
>
> > Index: ipa-cp.c
> > ===
> > --- ipa-cp.c(revision 221757)
> > +++ ipa-cp.c(working copy)
> > @@ -811,6 +811,41 @@ set_all_contains_variable (struct ipcp_p
> >return ret;
> > }
> >
> > +/* Worker of call_for_s
Hi,
On Sun, Mar 29, 2015 at 05:43:20PM +0200, Jan Hubicka wrote:
> Hi,
thanks for committing the patch, I'm just wondering why...
> this patch improve crafty performance by avoiding ipa-cp clonning of
> Search function that specializes the first iteration of the recursion.
> The patch is by Mart
Hi,
this patch improve crafty performance by avoiding ipa-cp clonning of
Search function that specializes the first iteration of the recursion.
The patch is by Martin, I only tested it and cleaned up code in count_callers
and set_single_call_flag
Bootstrapped/regtested x86_64-linux, comitted.