This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: call_insn's and argument locations
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Subject: Re: call_insn's and argument locations
- From: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Tue, 3 Jul 2001 04:29:24 +1000
- Cc: Daniel Berlin <dan at cgsoftware dot com>, Chris Lattner <sabre at nondot dot org>, gcc at gcc dot gnu dot org
- References: <87wv5rcis8.fsf@cgsoftware.com> <20010702192011.A28432@daikokuya.demon.co.uk>
On 02-Jul-2001, Neil Booth <neil@daikokuya.demon.co.uk> wrote:
> Daniel Berlin wrote:-
>
> > Actually, most i've read say the opposite.
> > We should do language specific optimizations on trees, then drop down,
> > do a few mid level optimizations, then drop down, and do the rest of
> > the optimizations.
>
> Like I said, I'm not an expert.
>
> I thought we were planning to make trees language-independent. In
> which case clearly optimisations thereon would have to be language
> independent.
I don't know the plans, but one possible design is to start off by
parsing the source into a tree containing language-specific tree nodes,
and then perform tree-to-tree transformations that eliminate these
language-specific tree nodes, before eventually handing it off to the
language-independent optimizations.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.