This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: set correctly bb frequency in profile based transformations
Hi,
> > Hi,
> >
> > check_bb_profile (...) warns again "Invalid sum of incoming frequencies ...".
> >
> > This patch corretly set bb frequencies for profile based transformations.
> >
So it seems that tree_value_profile_transformations (...) does counts
basic block frequencies properly because of counts_to_freqs ()
calling. So the patch is not needed (I've checked sums before
calling of counts_to_freq () :().
Tomas