aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/metalang99.sh
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-03-22 10:45:22 +0100
committerlemon <lsof@mailbox.org>2026-03-22 10:49:30 +0100
commitf9e3a52eaa6ae91388aa247182da6df3cc8d5a05 (patch)
tree0fa1b5604ebeaf4a1efbcb5242cf8bb07b4f1d76 /test/metalang99.sh
parent79874c83bf76a5b3efd3d558933b90d9b53b829e (diff)
mem2reg: fix rare edge case with weird control flow
mem2reg was assuming alloca's appeared before all their uses. When this didn't happen it broke the logic re. sealed blocks. Normally this doesn't happen in most natural code. Even with gotos, RPO would assure this in most cases, the exception I found is a goto that jumps into a loop past a variable declaration that is earlier in the loop. Then even RPO would keep the alloca itself past the first uses, breaking things.
Diffstat (limited to 'test/metalang99.sh')
0 files changed, 0 insertions, 0 deletions