by parthaspanda22@[EMAIL PROTECTED]
Mar 3, 2008 at 09:14 AM
> 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 sup****t 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