fitzgen edited PR #5351 from heap-load-store
to main
:
Work in progress, do not merge.
Need to figure out what to do about the usage of
heap_addr
incranelift-wasm
that doesn't feed into either aload
or astore
but instead into something likeuload8
or an atomic operation.
fitzgen requested cfallin for a review on PR #5351.
fitzgen edited PR #5351 from heap-load-store
to main
:
This does not remove
heap_addr
yet, but it does factor out the common
bounds-check-and-compute-the-native-address functionality that is shared between
all ofheap_{addr,load,store}
.Finally, this adds a missing optimization for when we can dedupe explicit bounds
checks for static memories and Spectre mitigations.
cfallin submitted PR review.
cfallin submitted PR review.
cfallin created PR review comment:
s/intentinally/intentionally/
fitzgen updated PR #5351 from heap-load-store
to main
.
fitzgen has enabled auto merge for PR #5351.
fitzgen merged PR #5351.
Last updated: Nov 22 2024 at 16:03 UTC