[phc-general] PHI nodes in CFG dump

Jimmy Cleary ocleiris at tcd.ie
Sun Feb 21 17:24:10 GMT 2010


Hi Mario,

If I recall correctly, CFGs dumped with --cfg-dump which are in SSA
form should have phi nodes written at the top of basic blocks where
branches join.  They look like, for example, "x__v17 = phi(4,7)",
which means x version 17 is assigned to the result of the phi function
of x version 4 and x version 7.

Keep in mind that this is only in the dataflow branch of phc, not trunk.

Regards,
Jimmy

2010/2/20 Mario A. del Riego <delriego at fing.edu.uy>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all,
>
> - --cfg-dump option doesn't dump the phi-nodes. Is there any way ("easy")
> to do this?
>
> Thanks in advance.
>
> - --
> Mario A. del Riego
> Unidad de Recursos Informáticos
> Facultad de Ingeniería - UdelaR
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkuAZugACgkQczZ+EZyziWeGTwCgi4h8JI4oszTUdYaLXcNprW5b
> 8mAAn3NbLzbpMorgPqgw9J+LeZtzlJC4
> =HcZ2
> -----END PGP SIGNATURE-----
> _______________________________________________
> phc-general mailing list
> phc-general at phpcompiler.org
> https://nova.villiros.com/cgi-bin/mailman/listinfo/phc-general
>
>


More information about the phc-general mailing list