commit 36da4b30cc13f7b482171ac6fff716078dd53009
parent df0836e47565d99632e67f9b9fb62dec52a5b73a
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Fri, 24 Jul 2015 09:32:26 -0400
test isel
Diffstat:
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/lisc/main.c b/lisc/main.c
@@ -74,11 +74,17 @@ main(int ac, char *av[])
pr = 0;
break;
}
+ case 'i': {
+ fprintf(stderr, "[Testing Instruction Selection]\n");
+ isel(fn);
+ break;
+ }
case 's': {
Blk *b;
fprintf(stderr, "[Testing Spilling]\n");
debug['S'] = 1;
+ isel(fn);
fillrpo(fn);
fillpreds(fn);
filllive(fn);
@@ -90,7 +96,8 @@ main(int ac, char *av[])
b->name, b->loop);
dumpss(&b->out, fn->sym, stdout);
}
- pr = 0;
+ printf("\n");
+ pr = 1;
break;
}
default: