summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-27 13:40:15 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-30 13:20:42 -0400
commit614130e4311b4eab4f0cfb61d17b2a473033d85d (patch)
tree71bcbcba61556117e7f762794aec2ded5ceb4772 /lisc
parentdfede22dcdbf9dd1aa24aecf583bd94dda2e1bfa (diff)
downloadroux-614130e4311b4eab4f0cfb61d17b2a473033d85d.tar.gz
remove liveness heuristic in fillphi()
Diffstat (limited to 'lisc')
-rw-r--r--lisc/ssa.c8
1 files changed, 0 insertions, 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;
 			}