Re: Cleanup predict.c

2017-11-21 Thread Martin Liška
On 11/14/2017 05:07 PM, Martin Liška wrote: > On 11/14/2017 10:20 AM, Jan Hubicka wrote: >> @@ -4670,11 +4671,12 @@ expand_call_inline (basic_block bb, gimp >>       if (dump_file && (dump_flags & TDF_DETAILS)) >>   { >> -  fprintf (dump_file, "Inlining "); >> -  print_generic_expr (dum

Re: Cleanup predict.c

2017-11-14 Thread Martin Liška
On 11/14/2017 10:20 AM, Jan Hubicka wrote: @@ -4670,11 +4671,12 @@ expand_call_inline (basic_block bb, gimp if (dump_file && (dump_flags & TDF_DETAILS)) { - fprintf (dump_file, "Inlining "); - print_generic_expr (dump_file, id->src_fn); - fprintf (dump_file, " to ");

Cleanup predict.c

2017-11-14 Thread Jan Hubicka
Hi, this patch moves predict.c away from frequencies and also updates name of counts_to_freqs to update_max_bb_count because it no longer does any conversion just determines max count in function. Bootstrapped/regtested x86_64-linux, comitted. 2017-11-14 Jan Hubicka * auto-profile.c (