-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow simd_shuffle to accept vectors of any length #88855
Conversation
r? @nagisa (rust-highfive has picked a reviewer for you, use r? to override) |
ddb15fd
to
1b3fe75
Compare
@bors r+ |
📌 Commit 1b3fe75 has been approved by |
… r=nagisa Allow simd_shuffle to accept vectors of any length cc `@rust-lang/project-portable-simd` `@workingjubilee`
… r=nagisa Allow simd_shuffle to accept vectors of any length cc ``@rust-lang/project-portable-simd`` ``@workingjubilee``
@bors r- |
While experimenting with more complex actual uses of this than it was initially tested for, Caleb found a snag in the current version that causes an ICE if it is hit. Boxy helped draft a fix but we figured we might as well push a new revision here, since it seems like, due to recent queue issues, following up in another PR would take even longer. |
The simple tests I wrote did not catch that if the constant arg needed any evaluation, it was not monomorphized and crashed. I added a more complex test case that covers this scenario. Should be good to go now. |
@bors r+ |
📌 Commit 4a4ca94 has been approved by |
… r=nagisa Allow simd_shuffle to accept vectors of any length cc `@rust-lang/project-portable-simd` `@workingjubilee`
Rollup of 10 pull requests Successful merges: - rust-lang#87960 (Suggest replacing an inexisting field for an unmentioned field) - rust-lang#88855 (Allow simd_shuffle to accept vectors of any length) - rust-lang#88966 (Check for shadowing issues involving block labels) - rust-lang#88996 (Fix linting when trailing macro expands to a trailing semi) - rust-lang#89017 (fix potential race in AtomicU64 time monotonizer) - rust-lang#89021 (Add a separate error for `dyn Trait` in `const fn`) - rust-lang#89051 (Add intra-doc links and small changes to `std::os` to be more consistent) - rust-lang#89053 (refactor: VecDeques IntoIter fields to private) - rust-lang#89055 (Suggest better place to add call parentheses for method expressions wrapped in parentheses) - rust-lang#89081 (Fix a typo) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
cc @rust-lang/project-portable-simd @workingjubilee