diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-09-14 18:12:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-14 18:12:10 +0200 |
| commit | a9dcd7f25da53adf368293c47494b4819e426a35 (patch) | |
| tree | 13e20a254df581d2a423aed3649dbcb2be325a2f /compiler/rustc_query_impl/src | |
| parent | 2b12b574efc6ad155c59447e2a5feb3084a51f89 (diff) | |
| parent | 60ee1b7ac6e1c18679573d4a752e6fc02790d892 (diff) | |
| download | rust-a9dcd7f25da53adf368293c47494b4819e426a35.tar.gz rust-a9dcd7f25da53adf368293c47494b4819e426a35.zip | |
Rollup merge of #130268 - RalfJung:simd-shuffle-idx-vector, r=compiler-errors
simd_shuffle: require index argument to be a vector Remove some codegen hacks by forcing the SIMD shuffle `index` argument to be a vector, which means (thanks to https://github.com/rust-lang/rust/pull/128537) that it will automatically be passed as an immediate in LLVM. The only special-casing we still have is for the extra sanity-checks we add that ensure that the indices are all in-bounds. (And the GCC backend needs to do a bunch of work since the Rust intrinsic is modeled after what LLVM expects, which seems to be quite different from what GCC expects.) Fixes https://github.com/rust-lang/rust/issues/128738, see that issue for more context.
Diffstat (limited to 'compiler/rustc_query_impl/src')
0 files changed, 0 insertions, 0 deletions
