This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Improve updating of frequencies in unswitching
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 3 Jul 2003 20:09:34 +0200
- Subject: Re: [PATCH] Improve updating of frequencies in unswitching
- References: <20030626152657.GA29447@atrey.karlin.mff.cuni.cz> <20030703042927.GD2814@redhat.com>
Hello,
> On Thu, Jun 26, 2003 at 05:26:57PM +0200, Zdenek Dvorak wrote:
> > * basic-block.h (RDIV): New.
> > (EDGE_FREQUENCY): Use it.
> > * cfgloopmanip.c (remove_path): Update frequencies on the other
> > path.
> > (scale_bbs_frequencies): Use RDIV.
> > (RDIV): Moved to basic-block.h.
>
> Ok.
I have noticed that this "improvement" actually introduces a lot of
hard to handle errors in updating frequencies on other places.
I am working on more reliable solution.
Zdenek