|Generating Static Single Assignment ? firstname.lastname@example.org (kphillips) (2008-02-29)|
|Re: Generating Static Single Assignment ? email@example.com (Richard Pennington) (2008-03-01)|
|Re: Generating Static Single Assignment ? firstname.lastname@example.org (=?ISO-8859-1?Q?Roland_Lei=DFa?=) (2008-03-02)|
|Re: Generating Static Single Assignment ? email@example.com (2008-03-03)|
|Date:||Mon, 3 Mar 2008 09:14:25 -0800 (PST)|
|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
Partha Sarathi Panda
Return to the
Search the comp.compilers archives again.