This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove basic_block->loop_depth


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]