rust/compiler/rustc_codegen_llvm/src
Stuart Cook 45ebc4060b
Rollup merge of #137447 - folkertdev:simd-extract-insert-dyn, r=scottmcm
add `core::intrinsics::simd::{simd_extract_dyn, simd_insert_dyn}`

fixes https://github.com/rust-lang/rust/issues/137372

adds `core::intrinsics::simd::{simd_extract_dyn, simd_insert_dyn}`, which contrary to their non-dyn counterparts allow a non-const index. Many platforms (but notably not x86_64 or aarch64) have dedicated instructions for this operation, which stdarch can emit with this change.

Future work is to also make the `Index` operation on the `Simd` type emit this operation, but the intrinsic can't be used directly. We'll need some MIR shenanigans for that.

r? `@ghost`
2025-04-11 13:31:43 +10:00
..
back Remove LLVM 18 inline ASM span fallback 2025-04-06 02:31:52 +01:00
builder handle sret for scalar autodiff 2025-04-07 07:07:16 -04:00
coverageinfo coverage: Build the CGU's global file table as late as possible 2025-04-07 17:11:49 +10:00
debuginfo Create a safe wrapper around LLVMRustDIBuilderCreateMemberType 2025-03-18 17:15:02 +00:00
llvm Rollup merge of #137880 - EnzymeAD:autodiff-batching, r=oli-obk 2025-04-05 13:18:13 +11:00
abi.rs Update the minimum external LLVM to 19 2025-04-05 11:44:38 -07:00
allocator.rs Remove implicit #[no_mangle] for #[rustc_std_internal_symbol] 2025-03-17 14:08:09 +00:00
asm.rs Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwco 2025-03-07 19:15:34 +01:00
attributes.rs Update the minimum external LLVM to 19 2025-04-05 11:44:38 -07:00
base.rs Add new_regular and new_allocator to ModuleCodegen 2025-02-23 21:23:38 +08:00
builder.rs Update the minimum external LLVM to 19 2025-04-05 11:44:38 -07:00
callee.rs Merge two operations that were always performed together 2025-02-20 11:24:00 +00:00
common.rs Rollup merge of #137549 - oli-obk:llvm-ffi, r=davidtwco 2025-03-07 19:15:34 +01:00
consts.rs Rollup merge of #137880 - EnzymeAD:autodiff-batching, r=oli-obk 2025-04-05 13:18:13 +11:00
context.rs Update the minimum external LLVM to 19 2025-04-05 11:44:38 -07:00
declare.rs Make allocator shim creation mostly use safe code 2025-02-24 15:11:29 +00:00
errors.rs KCFI: Add KCFI arity indicator support 2025-04-05 04:05:04 +00:00
intrinsic.rs Rollup merge of #137447 - folkertdev:simd-extract-insert-dyn, r=scottmcm 2025-04-11 13:31:43 +10:00
lib.rs Reduce visibility of most items in rustc_codegen_llvm 2025-03-25 16:36:47 +11:00
llvm_util.rs Update the minimum external LLVM to 19 2025-04-05 11:44:38 -07:00
mono_item.rs Rename is_like_osx to is_like_darwin 2025-03-25 21:53:52 +01:00
type_.rs Generalize BaseTypeCodegenMethods 2025-02-24 15:11:29 +00:00
type_of.rs rename BackendRepr::Vector → SimdVector 2025-02-28 17:17:45 +01:00
va_arg.rs Rename is_like_osx to is_like_darwin 2025-03-25 21:53:52 +01:00
value.rs Add warn(unreachable_pub) to rustc_codegen_llvm. 2024-08-16 08:46:57 +10:00