clean the command line interface

This commit is contained in:
Quentin Carbonneaux 2015-10-05 15:57:04 -04:00
parent a5428d33e1
commit a18e0ef50f
5 changed files with 99 additions and 119 deletions

View file

@ -60,7 +60,7 @@ fillcost(Fn *fn)
b->visit = -1;
}
if (debug['S'])
fprintf(stderr, "> Loop information:\n");
fprintf(stderr, "\n> Loop information:\n");
for (n=0; n<fn->nblk; n++) {
b = fn->rpo[n];
hd = 0;
@ -448,4 +448,14 @@ spill(Fn *fn)
assert(NAlign == 3);
slot8 += slot8 & 3;
fn->slot += slot8;
if (debug['S']) {
fprintf(stderr, "\n> Block information:\n");
for (b=fn->start; b; b=b->link) {
printf("\t%-10s (% 5d) ", b->name, b->loop);
dumpts(&b->out, fn->tmp, stdout);
}
fprintf(stderr, "\n> After spilling:\n");
printfn(fn, stderr);
}
}