about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/context.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-03-02 22:44:25 +0100
committerGitHub <noreply@github.com>2025-03-02 22:44:25 +0100
commitbb089d7a92982b3c0cecbfaea8b78b2ed00e98c4 (patch)
treef3ae474f17e6b8d9ceb0c1d92686a2d48277fe75 /compiler/rustc_codegen_llvm/src/context.rs
parentbb091f26c8ef827de091ce33510b814db34f45b6 (diff)
parent3a6f269f26454835aabac9055ef0cda820b048ec (diff)
downloadrust-bb089d7a92982b3c0cecbfaea8b78b2ed00e98c4.tar.gz
rust-bb089d7a92982b3c0cecbfaea8b78b2ed00e98c4.zip
Rollup merge of #137851 - folkertdev:simd-intrinsic-mask-signed, r=workingjubilee
improve `simd_select` error message when used with invalid mask type

followup to https://github.com/rust-lang/rust/pull/137828

This PR improves the error message for an invalid `simd_select` mask type, and adds testing for `simd_scatter` and `simd_gather` being used with invalid mask types.

the `simd_masked_load` and `simd_masked_store` intrinsics already generated a better error message:

https://github.com/rust-lang/rust/blob/0c72c0d11adeba449886089c6bd5d48363f7a2cd/tests/ui/simd/masked-load-store-build-fail.rs#L24-L37

r? `@workingjubilee`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions