commit 614130e4311b4eab4f0cfb61d17b2a473033d85d
parent dfede22dcdbf9dd1aa24aecf583bd94dda2e1bfa
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Tue, 27 Oct 2015 13:40:15 -0400
remove liveness heuristic in fillphi()
Diffstat:
1 file changed, 0 insertions(+), 8 deletions(-)
diff --git a/lisc/ssa.c b/lisc/ssa.c
@@ -105,7 +105,6 @@ phirepr(Tmp *tmp, int t)
}
/* fill union find data for phi classes
- * requires live
*/
void
fillphi(Fn *fn)
@@ -128,13 +127,6 @@ fillphi(Fn *fn)
if (rtype(p->arg[a]) != RTmp)
continue;
ta = p->arg[a].val;
- if (BGET(b->in, ta))
- /* do not merge the
- * classes of phi args
- * that outlive the phi
- * node
- */
- continue;
ta = phirepr(tmp, ta);
tmp[ta].phi = t;
}