Skip to content

Add mayNotReturn effect on memory.atomic.wait#8382

Draft
stevenfontanella wants to merge 1 commit intomainfrom
effects
Draft

Add mayNotReturn effect on memory.atomic.wait#8382
stevenfontanella wants to merge 1 commit intomainfrom
effects

Conversation

@stevenfontanella
Copy link
Member

@stevenfontanella stevenfontanella commented Feb 25, 2026

memory.atomic.wait may not return if its timeout is -1 and no memory.atomic.notify happens. Because mayNotReturn is now true, hasNonTrapSideEffects and hasUnremovableSideEffects are now true, which affect some passes.

Followup to #8346 (comment)

@stevenfontanella stevenfontanella changed the title [NFC?] Add mayNotReturn effect on memory.atomic.wait Add mayNotReturn effect on memory.atomic.wait Feb 25, 2026
@stevenfontanella stevenfontanella marked this pull request as ready for review February 25, 2026 22:25
@stevenfontanella stevenfontanella marked this pull request as draft February 25, 2026 22:25
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.

1 participant