Skip to content

GenMC: Don't split up non-atomic accesses to smaller chunks#4956

Merged
RalfJung merged 1 commit intorust-lang:masterfrom
michaliskok:genmc-no-split-nas
Apr 13, 2026
Merged

GenMC: Don't split up non-atomic accesses to smaller chunks#4956
RalfJung merged 1 commit intorust-lang:masterfrom
michaliskok:genmc-no-split-nas

Conversation

@michaliskok
Copy link
Copy Markdown
Contributor

@michaliskok michaliskok commented Apr 12, 2026

GenMC is now able to handle larger and mixed-size non-atomic accesses. (Follow up on #4949).
This deals with one of the checkmarks in #4572.

r? @RalfJung

@rustbot rustbot added the S-waiting-on-author Status: Waiting for the PR author to address review comments label Apr 12, 2026
@michaliskok michaliskok marked this pull request as ready for review April 12, 2026 17:09
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 12, 2026

Thank you for contributing to Miri! A reviewer will take a look at your PR, typically within a week or two.
Please remember to not force-push to the PR branch except when you need to rebase due to a conflict or when the reviewer asks you for it.

@rustbot rustbot added S-waiting-on-review Status: Waiting for a review to complete and removed S-waiting-on-author Status: Waiting for the PR author to address review comments labels Apr 12, 2026
@RalfJung
Copy link
Copy Markdown
Member

Nice :)

@RalfJung RalfJung added this pull request to the merge queue Apr 13, 2026
@RalfJung RalfJung removed this pull request from the merge queue due to a manual request Apr 13, 2026
Copy link
Copy Markdown
Member

@RalfJung RalfJung Apr 13, 2026

Choose a reason for hiding this comment

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

View changes since the review

Actually I just realized this test doesn't turn on GenMC mode. 😂

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe we should set -Zmiri-genmc automatically for tests in that folder, though this could be tricky to implement in our test runner.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Nah, it's my fault for copy-pasting test code left and right :-)

@RalfJung
Copy link
Copy Markdown
Member

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: Waiting for the PR author to address review comments and removed S-waiting-on-review Status: Waiting for a review to complete labels Apr 13, 2026
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 13, 2026

Reminder, once the PR becomes ready for a review, use @rustbot ready.

GenMC is now able to handle larger and mixed-size non-atomic
accesses.
@michaliskok
Copy link
Copy Markdown
Contributor Author

@rustbot ready

@rustbot rustbot added S-waiting-on-review Status: Waiting for a review to complete and removed S-waiting-on-author Status: Waiting for the PR author to address review comments labels Apr 13, 2026
@RalfJung RalfJung added this pull request to the merge queue Apr 13, 2026
Merged via the queue into rust-lang:master with commit b9968c9 Apr 13, 2026
13 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Waiting for a review to complete label Apr 13, 2026
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.

3 participants