My experience in TARDISgo was that Name() was stable and correct,
see 
https://github.com/tardisgo/tardisgo/blob/89fb026cf24627db3bddabb754fed9500b5cabcd/haxe/base.go#L62

Good to know, thanks for sharing.

My primary question is whether I should transform ssa.Value into another
type that allows SSA transformation (register renaming etc.) or if
there's a chance the x/tools/go/ssa package will be extended to allow
this.

Example:

t1 = 1     t2 = 2
 \        /
  \      /
  x3 = phi(t1;L1, t2;L2)
  ...

Using Sreedhar's method this becomes:

t = 1     t = 2
 \       /
  \     /
   ...

So you need to rename t1 and t2.

--
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to