rework liveness to compute reg pressure

This commit is contained in:
Quentin Carbonneaux 2015-07-21 17:08:48 -04:00
parent 7be3711bb6
commit 0f0ee0466e
3 changed files with 49 additions and 37 deletions

View file

@ -59,12 +59,13 @@ main(int ac, char *av[])
filllive(fn);
for (b=fn->start; b; b=b->link) {
printf("> Block %s\n", b->name);
printf("\t in: [");
printf("\t in: [");
dumprset(&b->in, fn);
printf(" ]\n");
printf("\tout: [");
printf("\tout: [");
dumprset(&b->out, fn);
printf(" ]\n");
printf("\tnlive: %d\n", b->nlive);
}
pr = 0;
break;