This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa] AST optimizer in C++?
- From: Chris Lattner <sabre at nondot dot org>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: Pop Sébastian <pop at gauvain dot u-strasbg dot fr>,<gcc at gcc dot gnu dot org>
- Date: Sun, 25 Aug 2002 17:49:07 -0500 (CDT)
- Subject: Re: [tree-ssa] AST optimizer in C++?
On Sun, 25 Aug 2002, Diego Novillo wrote:
> On Sun, 25 Aug 2002, Pop Sébastian wrote:
> > Diego, maybe it is worth to include PHI nodes directly as a
> > SIMPLE extension?
> I am not too keen on SSA re-writing schemes. When you encode SSA
> into your IR, you have the added aggravation of having to
> re-write the code twice. Once to convert it into SSA form and
> the second time to convert it out of SSA form.
Here's one possible way to look at this issue: SIMPLE should always be in
SSA form. When it is SIMPLE is initially constructed, SSA form is built.
When SIMPLE is lowered to RTL, UnSSA is run, or RTL in SSA form could even
be created and the existing RTL UnSSA pass could be used eventually.
> The approach we use now does not interfere with the underlying
> IR. What it does is overlay a web of def-use/use-def pointers on
Is there a reason that you'd like to have a SIMPLE form that is not in