[PATCH 3/4] Dump histograms only if present.
Jan Hubicka
hubicka@ucw.cz
Thu Jun 6 12:53:00 GMT 2019
> On 6/6/19 2:16 PM, Jan Hubicka wrote:
> > What is the point of having histogram value when there are no counters?
>
> Because we first create histograms in branch_prob -> gimple_find_values_to_profile and
> later we read profile from file. At that point we know which are empty, but we don't
> remove them.
OK, so it is about the dump not crahsing when you do it in meantime.
That makes sense :)
So patch is OK.
Honza
More information about the Gcc-patches
mailing list