From 7abf421ea2b88ba8c2e08365cd2385ebe34f9d30 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Sat, 31 Oct 2015 23:39:52 -0400 Subject: make phi-class handling more local The phi classes are no longer in a union-find structure, instead each temporary argument of a phi node gets a pointer to it. The hinting of the phi node is then shared with its the one of its arguments. When liveness proceeds and finds out that two elements with same hinting (a phi node and one of its arguments or two arguments of the same phi node) interfere, one of them has its phi pointer reset, that way, the hinting won't be shared. --- lisc/main.c | 1 - 1 file changed, 1 deletion(-) (limited to 'lisc/main.c') diff --git a/lisc/main.c b/lisc/main.c index 3c6a009..b3389c4 100644 --- a/lisc/main.c +++ b/lisc/main.c @@ -50,7 +50,6 @@ func(Fn *fn) isel(fn); fillrpo(fn); fillpreds(fn); - fillphi(fn); filllive(fn); fillcost(fn); spill(fn); -- cgit 1.4.1