Related articles |
---|
Generating Static Single Assignment ? kevin.phillips83@yahoo.com (kphillips) (2008-02-29) |
Re: Generating Static Single Assignment ? rich@pennware.com (Richard Pennington) (2008-03-01) |
Re: Generating Static Single Assignment ? roland.leissa@googlemail.com (=?ISO-8859-1?Q?Roland_Lei=DFa?=) (2008-03-02) |
Re: Generating Static Single Assignment ? parthaspanda22@gmail.com (2008-03-03) |
From: | parthaspanda22@gmail.com |
Newsgroups: | comp.compilers |
Date: | Mon, 3 Mar 2008 09:14:25 -0800 (PST) |
Organization: | Compilers Central |
References: | 08-03-004 |
Keywords: | SSA |
Posted-Date: | 03 Mar 2008 13:58:29 EST |
> Can I generate SSA immediately from the AST?
SSA is used to further refine the IR you choose. 3-address code is
the minimum to implement SSA. So, yes you may need to do both. You
will also need to distinguish between the representation of the
IR. Both tree and record(DAG) formats can support 3-address codes.
The fastest way to get to SSA would be what GCC does i.e. convert the
AST to 3-address tree code and then insert the phi nodes to get a
tree-SSA implementation.
Sincerely,
Partha Sarathi Panda
Return to the
comp.compilers page.
Search the
comp.compilers archives again.