This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa] PATCH to &&/|| gimplification
- From: law at redhat dot com
- To: Zack Weinberg <zack at codesourcery dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Jason Merrill <jason at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 May 2003 14:20:18 -0600
- Subject: Re: [tree-ssa] PATCH to &&/|| gimplification
- Reply-to: law at redhat dot com
In message <email@example.com>, Zack Weinberg writes:
>Note that I'd like to see the tree->RTL converter get a lot simpler in
>the future, which would imply that more work should be done in the
>GIMPLE representation. Loop rotation seems to me like something that
>belongs done on trees. In fact, I could argue that all the loop
>optimizations ought to happen then, too.
Well, the mental model Richard and I hashed through a while back was
that we'd do most loop optimizations at the tree level, but that we'd
need a simplified loop optimizer to run on RTL as well. Once we lower
to RTL there's going to be some stuff exposed for LICM and possibly
some strength reductions.
But, yes, we want to be doing as much of the loop optimizations as
we can earlier in the compiler.