[ast-optimizer-branch] [patch]: SSA for trees
Daniel Berlin
dan@cgsoftware.com
Mon Jul 23 13:17:00 GMT 2001
--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.
More information about the Gcc-patches
mailing list