Skip to content

CodePushing: Migrate from invalidates to orderedBefore#8745

Open
tlively wants to merge 1 commit into
local-cse-ordered-effectsfrom
code-pushing-ordered-effects
Open

CodePushing: Migrate from invalidates to orderedBefore#8745
tlively wants to merge 1 commit into
local-cse-ordered-effectsfrom
code-pushing-ordered-effects

Conversation

@tlively
Copy link
Copy Markdown
Member

@tlively tlively commented May 21, 2026

Replace the coarse invalidates check in CodePushing with orderedBefore.
This allows CodePushing to push expressions (like GC reads) past acquire
loads, while still correctly blocking them from being pushed past release
stores.

Add a lit test to verify the asymmetrical reordering behavior with
release/acquire atomics on shared GC structs and Wasm memory.

Replace the coarse `invalidates` check in `CodePushing` with `orderedBefore`.
This allows `CodePushing` to push expressions (like GC reads) past acquire
loads, while still correctly blocking them from being pushed past release
stores.

Add a lit test to verify the asymmetrical reordering behavior with
release/acquire atomics on shared GC structs and Wasm memory.
@tlively tlively requested a review from a team as a code owner May 21, 2026 04:44
@tlively tlively requested review from kripken and removed request for a team May 21, 2026 04:44
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.

2 participants