fix some bugs, call ssa() in func()

This commit is contained in:
Quentin Carbonneaux 2015-11-10 18:07:51 -05:00
parent 351d0b4b61
commit 9f1ecf974e
2 changed files with 24 additions and 7 deletions

View file

@ -47,9 +47,11 @@ func(Fn *fn)
fprintf(stderr, "\n> After parsing:\n");
printfn(fn, stderr);
}
isel(fn);
fillrpo(fn);
fillpreds(fn);
ssa(fn);
#if 0
isel(fn);
filllive(fn);
fillcost(fn);
spill(fn);
@ -67,6 +69,7 @@ func(Fn *fn)
printf("/* end function %s */\n\n", fn->name);
} else
fprintf(stderr, "\n");
#endif
freeall();
}