Skip to content

Handle ArrayCmpxchg in Heap2Local#8551

Merged
tlively merged 2 commits intomainfrom
heap2local-array-rmw
Mar 31, 2026
Merged

Handle ArrayCmpxchg in Heap2Local#8551
tlively merged 2 commits intomainfrom
heap2local-array-rmw

Conversation

@tlively
Copy link
Copy Markdown
Member

@tlively tlively commented Mar 30, 2026

We already took care of converting array cmpxchg operations to struct cmpxchg operations in Array2Struct, but we did so even when the optimized allocation flowed into the expected field. In that case, since we aren't optimizing the accessed object, we should keep the array cmpxchg and later optimize it in Heap2Local.

Fixes #8548.

We already took care of converting array cmpxchg operations to struct cmpxchg operations in Array2Struct, but we did so even when the optimized allocation flowed into the `expected` field. In that case, since we aren't optimizing the accessed object, we should keep the array cmpxchg and later optimize it in Heap2Local.

Fixes #8548.
@tlively tlively requested a review from kripken March 30, 2026 22:59
@tlively tlively requested a review from a team as a code owner March 30, 2026 22:59
Co-authored-by: Alon Zakai <alonzakai@gmail.com>
Co-authored-by: Thomas Lively <tlively123@gmail.com>
@tlively tlively enabled auto-merge (squash) March 30, 2026 23:44
@tlively tlively merged commit 6474c70 into main Mar 31, 2026
16 checks passed
@tlively tlively deleted the heap2local-array-rmw branch March 31, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ArrayCmpxchg fuzz bug in Heap2Local

2 participants