This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Any plan for rewriting loop.c using cfgloop.c
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Jie Zhang <zhangjie at magima dot com dot cn>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 21 Oct 2003 17:35:10 +0200
- Subject: Re: Any plan for rewriting loop.c using cfgloop.c
- References: <3F95048F.2080306@magima.com.cn>
> Hi,
> Is there any plan for rewriting the loop optimization code in loop.c
> using the new loop infrastructure in cfgloop.c? I find current loop
> optimization in loop.c can be largely improved if using the code in
> cfgloop.c.
Yes, loop unrolling is already replaced in mainline (and does loop
unswitching and peeling too). Rest of loop optimizer is going to be
more dificult as many of transformations are better done on higher level
IL than RTL is and thus they are planned on new tree-ssa representation.
In general loop optimizer needs a lot of work :)
Honza
>
> Jie
>