Skip to content

Fix effects for AtomicFence#8465

Merged
tlively merged 3 commits intomainfrom
fix-fence-effects
Mar 16, 2026
Merged

Fix effects for AtomicFence#8465
tlively merged 3 commits intomainfrom
fix-fence-effects

Conversation

@tlively
Copy link
Member

@tlively tlively commented Mar 13, 2026

When we updated EffectsAnalzyer to handle atomic effects more precisely, we forgot to update AtomicFence. It previously was considered to access shared memories, but in fact it should be considered to access all possible shared locations. This properly prevents it from being reordered with accesses to shared structs and arrays as well.

When we updated EffectsAnalzyer to handle atomic effects more precisely, we forgot to update AtomicFence. It previously was considered to access shared memories, but in fact it should be considered to access all possible shared locations. This properly prevents it from being reordered with accesses to shared structs and arrays as well.
@tlively tlively requested a review from kripken March 13, 2026 22:27
)
(atomic.fence)
(local.get $x)
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can also test writes here.

@tlively tlively enabled auto-merge (squash) March 16, 2026 17:28
@tlively tlively merged commit a2f2c9b into main Mar 16, 2026
17 checks passed
@tlively tlively deleted the fix-fence-effects branch March 16, 2026 18:47
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