diff options
| author | Quentin Carbonneaux <[email protected]> | 2016-04-18 13:54:17 -0400 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2016-04-18 13:54:17 -0400 |
| commit | c6f3adc52d375d434e3dfd2d23056f0bfdbcdc67 (patch) | |
| tree | 4b8b8b5c9ed8599126a441d45c536ff2aa74e45a /live.c | |
| parent | 5873a7dc1e805b601c49f607fcb11692e3b5e74a (diff) | |
phis can assign slots after spill
Diffstat (limited to 'live.c')
| -rw-r--r-- | live.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,8 @@ liveon(BSet *v, Blk *b, Blk *s) bscopy(v, s->in); for (p=s->phi; p; p=p->link) - bsclr(v, p->to.val); + if (rtype(p->to) == RTmp) + bsclr(v, p->to.val); for (p=s->phi; p; p=p->link) for (a=0; a<p->narg; a++) if (p->blk[a] == b) |
