This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Remove basic_block->loop_depth
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).
Ciao!
Steven