aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2022-12-04 07:58:59 -0500
committerAndrew Kelley <andrew@ziglang.org>2022-12-04 15:57:40 -0700
commit7d3cc3bc8d772519d390b7f13346eeab73bc0c21 (patch)
tree8b9e7c78245891efee3cc8b4f0e3ad770704bb7e /src/codegen/llvm.zig
parent518392d6fe79b780164d40782f15e626444d34f8 (diff)
downloadzig-7d3cc3bc8d772519d390b7f13346eeab73bc0c21.tar.gz
zig-7d3cc3bc8d772519d390b7f13346eeab73bc0c21.zip
CBE: defer invariant local reuse in loops
When a local defined outside a loop dies inside the loop, it can still be needed on subsequent loop iterations, so reuse of the local must be deferred until after the loop ends. This causes behavior tests to pass.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions