From 614130e4311b4eab4f0cfb61d17b2a473033d85d Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Tue, 27 Oct 2015 13:40:15 -0400 Subject: [PATCH] remove liveness heuristic in fillphi() --- lisc/ssa.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lisc/ssa.c b/lisc/ssa.c index 46a6023..97003e0 100644 --- 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; }