diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2022-12-13 11:34:20 +0100 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2022-12-14 23:05:35 +0100 |
commit | 15e25a61b38b250c7543437a093a9efe076cce0a (patch) | |
tree | 51708b5c1a4a3503fe09061bf7663b14f771eb1a /ops.h | |
parent | c5ea06c1360a7bb93cf1a5303f804855a38a82ef (diff) | |
download | roux-15e25a61b38b250c7543437a093a9efe076cce0a.tar.gz |
fix coalesce() to produce valid ssa
When multiple stack slots are coalesced one 'alloc' instruction is kept in the il and the other ones are removed and have their uses replaced by the result of the selected one. To produce valid ssa, it must be ensured that the uses that get replaced are dominated by the selected 'alloc' instruction. This patch ensures dominance by moving the selected alloc up in the start block as necessary.
Diffstat (limited to 'ops.h')
0 files changed, 0 insertions, 0 deletions