This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: call_insn's and argument locations


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]