diff options
| author | Roland Paterson-Jones <[email protected]> | 2024-11-20 16:05:51 +0200 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2025-03-14 13:07:40 +0100 |
| commit | 1cb255cb045d1e531d5e7e6961ac90bb6f7a0474 (patch) | |
| tree | 148e1199407ff41a88d4b60944258edac83c84f0 /gcm.c | |
| parent | c2ff93e75e5f6df8e1679120b18f0d5884deab2b (diff) | |
Get rid of movins() infra.
Diffstat (limited to 'gcm.c')
| -rw-r--r-- | gcm.c | 22 |
1 files changed, 1 insertions, 21 deletions
@@ -452,7 +452,6 @@ cleartmps(Fn *fn) for (t=&fn->tmp[Tmp0]; t < &fn->tmp[fn->ntmp]; t++) { t->visit = 0; t->gcmbid = NOBID; - t->gcminsn = -1u; // TODO - get rid } } @@ -465,9 +464,6 @@ gcm(Fn *fn) { uint bid; - /* fprintf(stderr, "\n\nBefore gcm:\n\n"); */ - /* printfn(fn, stderr); */ - filldomdpth(fn); fillloop(fn); @@ -477,29 +473,13 @@ gcm(Fn *fn) for (bid=0; bid<fn->nblk; bid++) lateblk(fn, bid); - /* fprintf(stderr, "\n\nBefore gcmmove/fixub4d:\n\n"); */ - /* printfn(fn, stderr); */ - gcmmove(fn); - cleartmps(fn); - /* filluse(fn); */ - /* fixub4d(fn); */ - - /* fprintf(stderr, "\n\nAfter gcmmove/fixub4d:\n\n"); */ - /* printfn(fn, stderr); */ - - //fillcfg(fn); + cleartmps(fn); /* filluse() uses visit */ filluse(fn); reassoc(fn); - - /* cleartmps(fn); */ filluse(fn); fixub4d(fn); - /* delete (now) unused ins - already done later??? */ - filluse(fn); - nopunused(fn); - if (debug['G']) { fprintf(stderr, "\n> After GCM:\n"); printfn(fn, stderr); |
