-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Check empty SIMD vector in inline asm #135295
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
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @oli-obk (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
This comment has been minimized.
This comment has been minimized.
You can also delete the file |
The generation of this type should simply be rejected, it is not a legal SIMD type. |
...oh, this does that. My brain. |
@Jubilee: Yeah, this is an instance of a common pattern in the compiler where we can't detect the invalidity of another item. We could perhaps just delay a bug rather than issuing another user error at the usage site, but I think this is a good first step. |
This comment has been minimized.
This comment has been minimized.
Thank you for your review I added the requested changes. |
@bors r+ rollup |
Check empty SIMD vector in inline asm fixes [rust-lang#134334](rust-lang#134334)
…iaskrgr Rollup of 7 pull requests Successful merges: - rust-lang#135295 (Check empty SIMD vector in inline asm) - rust-lang#135873 (coverage: Prepare for upcoming changes to counter creation) - rust-lang#135926 (Implement `needs-subprocess` directive, and cleanup a bunch of tests to use `needs-{subprocess,threads}`) - rust-lang#135950 (Tidy Python improvements) - rust-lang#135956 (Make `Vec::pop_if` a bit more presentable) - rust-lang#135966 ([AIX] Allow different sized load and store in `tests/assembly/powerpc64-struct-abi.rs`) - rust-lang#135983 (Doc difference between extend and extend_from_slice) r? `@ghost` `@rustbot` modify labels: rollup
@bors r- failed in rollup #135986 (comment) |
This comment was marked as resolved.
This comment was marked as resolved.
@bors r- |
1 similar comment
This comment was marked as off-topic.
This comment was marked as off-topic.
☔ The latest upstream changes (presumably #137573) made this pull request unmergeable. Please resolve the merge conflicts. |
@eyraudh any updates on this? thanks |
Yes I'll resolve it soon (before the end of the week), I completely forgot about this PR sry. |
This PR changes a file inside |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The test was failing on aarch64-apple-darwin.
@rustbot label -S-waiting-on-author +S-waiting-on-review |
@rustbot review |
@bors r+ rollup in the future, just amend your first commit rather than adding a second commit on top when it's that small |
Rollup of 14 pull requests Successful merges: - rust-lang#135295 (Check empty SIMD vector in inline asm) - rust-lang#138003 (Add the new `amx` target features and the `movrs` target feature) - rust-lang#138823 (rustc_target: RISC-V: add base `I`-related important extensions) - rust-lang#138913 (Remove even more instances of `@ts-expect-error` from search.js) - rust-lang#138941 (Do not mix normalized and unnormalized caller bounds when constructing param-env for `receiver_is_dispatchable`) - rust-lang#139060 (replace commit placeholder in vendor status with actual commit) - rust-lang#139102 (coverage: Avoid splitting spans during span extraction/refinement) - rust-lang#139191 (small opaque type/borrowck cleanup) - rust-lang#139200 (Skip suggest impl or dyn when poly trait is not a real trait) - rust-lang#139208 (fix dead link netbsd.md) - rust-lang#139210 (chore: remove redundant backtick) - rust-lang#139212 (Update mdbook to 0.4.48) - rust-lang#139214 (Tell rustfmt to use the 2024 edition in ./x.py fmt) - rust-lang#139225 (move autodiff from EnzymeAD/Enzyme to our rust-lang/Enzyme soft-fork) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#135295 - eyraudh:master, r=compiler-errors Check empty SIMD vector in inline asm fixes [rust-lang#134334](rust-lang#134334)
fixes #134334