On Tue, 14 Aug 2012, Steven Bosscher wrote: > On Tue, Aug 14, 2012 at 12:48 PM, Richard Guenther <rguent...@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.