Skip to content

Conversation

@hulxv
Copy link
Contributor

@hulxv hulxv commented Nov 21, 2025

Close #4659

@rustbot
Copy link
Collaborator

rustbot commented Nov 21, 2025

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 the S-waiting-on-review Status: Waiting for a review to complete label Nov 21, 2025
@folkertdev
Copy link
Contributor

I'm not sure everything has been synchronized all the way, based on the CI log where it complains that there is no implementation for maskload. So miri may need to be synchronized with upstream rust-lang/rust first?

Did the tests pass for you locally?

@RalfJung
Copy link
Member

RalfJung commented Nov 21, 2025

Yeah, this only makes sense once the stdarch changes are synced to rustc (I don't know if that happened), and then rustc is synced to Miri.

@hulxv it's generally a good idea to ask before starting to work on an issue. :)

And indeed, please run tests locally. CI exists to catch oversights that happen, but it is not a good replacement for local testing: the feedback cycle is just way too slow for that, and it is too noisy (project members get emails for PR updates).

@folkertdev
Copy link
Contributor

folkertdev commented Nov 21, 2025

Yeah, this only makes sense once the stdarch changes are synced to rustc (I don't know if that happened)

This did happen in rust-lang/rust#149118

@RalfJung
Copy link
Member

Yeah, this only makes sense once the stdarch changes are synced to rustc (I don't know if that happened)

This did happen in rust-lang/rust#149118

Ah, that's shortly after the most recent sync (yesterday morning). I can kick off a manual sync to unblock this PR.

@RalfJung
Copy link
Member

Uh, no, the fix for failing tests is not to remove the tests.

@hulxv
Copy link
Contributor Author

hulxv commented Nov 21, 2025

@hulxv it's generally a good idea to ask before starting to work on an issue. :)

And indeed, please run tests locally. CI exists to catch oversights that happen, but it is not a good replacement for local testing: the feedback cycle is just way too slow for that, and it is too noisy (project members get emails for PR updates).

Oh, I am really for that. I didn't know that would annoy you. I think the CI will work now. I tested it locally. Can you please explain the current situation? What's this sync problem?

@hulxv
Copy link
Contributor Author

hulxv commented Nov 21, 2025

Uh, no, the fix for failing tests is not to remove the tests.

Aren't these intrinsics removed? how can I fix them then?

@RalfJung
Copy link
Member

Can you please explain the current situation? What's this sync problem?

You will have to wait until #4716 lands, and then rebase your branch. Then CI should pass.

The failing tests indicate that in the version used for testing, the intrinsics are still needed. The test is important to keep, it ensures that Miri can run all these stdarch functions.

@hulxv
Copy link
Contributor Author

hulxv commented Nov 21, 2025

So I need to revert d250793 right? Is there anything else I need to do?

@RalfJung
Copy link
Member

You should remove that commit, and rebase your PR once #4716 lands.

@hulxv hulxv force-pushed the refactor/clean-up-unused-llvm-simd branch from 889a65e to de6754f Compare November 21, 2025 16:11
@hulxv
Copy link
Contributor Author

hulxv commented Nov 21, 2025

Is it good now?

@RalfJung
Copy link
Member

This looks great, thanks! Please squash the commits. You can squash manually if there are multiple independent commits you want to preserve, or use ./miri squash (make sure to pick a suitable commit message). Then write @rustbot ready after you force-pushed the squashed PR.

@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 Nov 23, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 23, 2025

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

refactor: remove `maskload.{d, q, d.256, q.256}` and `maskstore.{d, q, d.256, q.256}`

refactor: remove unsupported AVX2 shift intrinsic implementations

refactor: remove unused functions
@hulxv hulxv force-pushed the refactor/clean-up-unused-llvm-simd branch from de6754f to eadc1b5 Compare November 24, 2025 21:10
@hulxv
Copy link
Contributor Author

hulxv commented Nov 24, 2025

@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 Nov 24, 2025
@RalfJung RalfJung added this pull request to the merge queue Nov 24, 2025
Merged via the queue into rust-lang:master with commit 97ac2c2 Nov 24, 2025
13 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Waiting for a review to complete label Nov 24, 2025
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.

Clean up unused LLVM SIMD intrinsics

4 participants