This is the mail archive of the gcc-patches@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: [ast-optimizer-branch] [patch]: SSA for trees




--On Monday, July 23, 2001 4:00 PM -0400 Diego Novillo 
<dnovillo@redhat.com> wrote:

> On Mon, 23 Jul 2001, Jeff Law wrote:
>
>>   In message <3B5C728D.2949ED0C@codesourcery.com>you write:
>>   > * optimize_tree is not a good name for an ssa specific optimization
>> One could argue that trees should always be in SSA form.  I'm not sure
>> how practical that is, but maybe that's what Diego had in mind.
>>
> Actually, this is a single-entry point that should probably
> disappear.  Its only purpose is to call the CFG builder, the
> varref finder and the SSA builder in sequence.
>
> I've been thinking that it might be better to do all these steps
> explictly in c-decl.c.  There really is no need for the
> additional indirection.  It's obviously confusing already.

Except that then you'd have to do the same in cp/optimize.c, and make sure 
the steps stay in sync.

And for every other front end that operates on trees, too.

>
> Diego.



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