This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Loop optimizer issues
- From: law at redhat dot com
- To: Geoff Keating <geoffk at geoffk dot org>
- Cc: rakdver at atrey dot karlin dot mff dot cuni dot cz, dje at watson dot ibm dot com, dnovillo at redhat dot com, rth at redhat dot com, jason at redhat dot com, jh at suse dot cz, dberlin at dberlin dot org, pop at gauvain dot u-strasbg dot fr, gcc at gcc dot gnu dot org
- Date: Thu, 03 Jul 2003 17:05:58 -0600
- Subject: Re: Loop optimizer issues
- Reply-to: law at redhat dot com
In message <200307032044.h63KiDr24360@desire.geoffk.org>, Geoff Keating writes:
>OK. So this is a mini-loop-optimiser working on RTL when a loop
>optimisation pass has already been run on trees.
>
>In that case, I don't think you need to worry about invariant
>libcalls. It's not clear that you need to worry about invariant moves
>at all; the tree-based loop optimiser should have moved all invariant
>expressions out of the loop, even addresses of variables (they can
>always be moved back in).
Precisely. Similarly for CSE of libcalls and the like.
Jeff