start memopt(), still buggy

This commit is contained in:
Quentin Carbonneaux 2015-11-19 21:38:23 -05:00
parent a968dc687d
commit bbaf4fd61b
5 changed files with 78 additions and 1 deletions

View file

@ -6,6 +6,7 @@ char debug['Z'+1] = {
['A'] = 0, /* abi lowering */
['I'] = 0, /* instruction selection */
['L'] = 0, /* liveness */
['M'] = 0, /* memory optimization */
['N'] = 0, /* ssa construction */
['C'] = 0, /* copy elimination */
['S'] = 0, /* spilling */
@ -52,6 +53,7 @@ func(Fn *fn)
fillrpo(fn);
fillpreds(fn);
filluse(fn);
memopt(fn);
ssa(fn);
filluse(fn);
copy(fn);