Skip to content

Generate acqrel atomic.fence in fuzzer#8885

Merged
stevenfontanella merged 1 commit into
mainfrom
fuzz-relaxed-fence
Jul 7, 2026
Merged

Generate acqrel atomic.fence in fuzzer#8885
stevenfontanella merged 1 commit into
mainfrom
fuzz-relaxed-fence

Conversation

@stevenfontanella

Copy link
Copy Markdown
Member

Part of #8165.

stevenfontanella added a commit that referenced this pull request Jul 7, 2026
Fixes #8770. The fuzzer was non-deterministic across architectures since
we had two calls to `pick()` in the arguments to `makeAtomicRMW`, so the
evaluation order of the two `pick` calls was non-deterministic. Fix this
by pulling the function calls outside of the arguments of
`makeAtomicRMW`.

Also increase the fuzz metrics test seed file size (2214 bytes -> 1020
KB) to increase the likelihood of catching similar issues in CI, and
exercise more instructions in the test. This bug wasn't caught by CI in
#8253.

Tested by basing #8885 on top of this which failed previously due to the
non-determinism, and now succeeds.
@stevenfontanella stevenfontanella marked this pull request as ready for review July 7, 2026 22:34
@stevenfontanella stevenfontanella requested a review from a team as a code owner July 7, 2026 22:35
@stevenfontanella stevenfontanella requested review from kripken and removed request for a team July 7, 2026 22:35
@stevenfontanella stevenfontanella enabled auto-merge (squash) July 7, 2026 22:35
@stevenfontanella stevenfontanella merged commit d36c953 into main Jul 7, 2026
16 checks passed
@stevenfontanella stevenfontanella deleted the fuzz-relaxed-fence branch July 7, 2026 23:01
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