Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Never eliminate atomic stores in dead-store elimination - #14005

#14005
Merged
cfallin merged 1 commit into
bytecodealliance:mainbytecodealliance/wasmtime:mainfrom
fitzgen:dse-and-atomicsfitzgen/wasmtime:dse-and-atomicsCopy head branch name to clipboard
Jul 28, 2026
Merged

Never eliminate atomic stores in dead-store elimination#14005
cfallin merged 1 commit into
bytecodealliance:mainbytecodealliance/wasmtime:mainfrom
fitzgen:dse-and-atomicsfitzgen/wasmtime:dse-and-atomicsCopy head branch name to clipboard

Conversation

@fitzgen

@fitzgen fitzgen commented Jul 27, 2026

Copy link
Copy Markdown
Member

Exclude stores with memory fence semantics from dead store candidacy so an atomic store is never eliminated.

Fixes #13960

Exclude stores with memory fence semantics from dead store candidacy so an
atomic store is never eliminated.

Fixes bytecodealliance#13960
@fitzgen
fitzgen requested a review from a team as a code owner July 27, 2026 23:19
@fitzgen
fitzgen requested review from cfallin and removed request for a team July 27, 2026 23:19
@github-actions github-actions Bot added the cranelift Issues related to the Cranelift code generator label Jul 28, 2026
@cfallin
cfallin added this pull request to the merge queue Jul 28, 2026
Merged via the queue into bytecodealliance:main with commit 6015414 Jul 28, 2026
53 checks passed
@fitzgen
fitzgen deleted the dse-and-atomics branch July 28, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cranelift Issues related to the Cranelift code generator

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Atomic store erroneously optimized out

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.