diff options
| author | Quentin Carbonneaux <[email protected]> | 2025-03-14 13:09:21 +0100 |
|---|---|---|
| committer | Quentin Carbonneaux <[email protected]> | 2025-03-14 13:09:21 +0100 |
| commit | f3ca2577372eaae7056db24982abfc54be8f4cc1 (patch) | |
| tree | bdc83176ce62fa780981605f85e58c91c19f9edd /ssa.c | |
| parent | 1cb255cb045d1e531d5e7e6961ac90bb6f7a0474 (diff) | |
gvn/gcm review
- Many stylistic nits.
- Removed blkmerge().
- Some minor bug fixes.
- GCM reassoc is now "sink"; a pass that
moves trivial ops in their target block
with the same goal of reducing register
pressure, but starting from instructions
that benefit from having their inputs
close.
Diffstat (limited to 'ssa.c')
| -rw-r--r-- | ssa.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -44,7 +44,6 @@ filluse(Fn *fn) uint a; Tmp *tmp; - /* todo, is this the correct file? */ tmp = fn->tmp; for (t=Tmp0; t<fn->ntmp; t++) { tmp[t].def = 0; @@ -145,7 +144,7 @@ phiins(Fn *fn) continue; } bszero(u); - k = -1; + k = Kx; bp = be; for (b=fn->start; b; b=b->link) { b->visit = 0; |
