[PATCH] Improve updating of frequencies in unswitching

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Thu Jul 3 18:09:00 GMT 2003


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



More information about the Gcc-patches mailing list