rust/compiler/rustc_codegen_ssa/src
León Orell Valerian Liehr a9dcd7f25d
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.
2024-09-14 18:12:10 +02:00
..
back Fix SDKROOT ignore on macOS 2024-09-14 04:28:38 +02:00
debuginfo Also fix if in else 2024-09-11 17:24:01 -04:00
mir simd_shuffle: require index argument to be a vector 2024-09-14 14:43:24 +02:00
traits Don't leave debug locations for constants sitting on the builder indefinitely. 2024-09-06 23:12:18 +00:00
assert_module_sources.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
base.rs Rename struct_tail_erasing_lifetimes to struct_tail_for_codegen 2024-08-08 12:15:16 -04:00
codegen_attrs.rs Simplify some nested if statements 2024-09-11 13:45:23 -04:00
common.rs Rollup merge of #128206 - bjorn3:import_lib_writing_refactor, r=jieyouxu 2024-08-07 15:59:35 +02:00
errors.rs Always use ar_archive_writer for import libs 2024-08-17 19:10:46 +00:00
lib.rs Add warn(unreachable_pub) to rustc_codegen_ssa. 2024-08-16 08:46:57 +10:00
meth.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
mono_item.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
size_of_val.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
target_features.rs Disallow enabling features without their implied features 2024-08-07 00:45:00 -04:00