[PATCH] Remove basic_block->loop_depth

Richard Guenther rguenther@suse.de
Tue Aug 14 11:01:00 GMT 2012


On Tue, 14 Aug 2012, Steven Bosscher wrote:

> On Tue, Aug 14, 2012 at 12:48 PM, Richard Guenther <rguenther@suse.de> wrote:
> > If SPU md reorg would like to look at loop structures it should
> > compute them.  Simply call flow_loops_find, which hopefully works
> > in CFG RTL mode (which I think is the mode available from md reorg?).
> 
> No, the CFG is destroyed just before MD reorg, because most MD reorgs
> are not CFG aware.
> 
> But some back-ends re-surrect it (bfin, ia64, c6x, etc...), and do
> compute loops (c6x at least).

I suppose we could push down freeing the CFG to the individual MD
reorgs and make the default MD reorg simply free the CFG ...

Richard.



More information about the Gcc-patches mailing list