rust/compiler/rustc_codegen_llvm/src
bors 9136560d32 Auto merge of #115933 - oli-obk:simd_shuffle_const, r=workingjubilee
Prototype using const generic for simd_shuffle IDX array

cc https://github.com/rust-lang/rust/issues/85229

r? `@workingjubilee` on the design

TLDR: there is now a `fn simd_shuffle_generic<T, U, const IDX: &'static [u32]>(x: T, y: T) -> U;` intrinsic that allows replacing

```rust
simd_shuffle(a, b, const { stuff })
```

with

```rust
simd_shuffle_generic::<_, _, {&stuff}>(a, b)
```

which makes the compiler implementations much simpler, if we manage to at some point eliminate `simd_shuffle`.

There are some issues with this today though (can't do math without bubbling it up in the generic arguments). With this change, we can start porting the simple cases and get better data on the others.
2023-09-30 04:05:26 +00:00
..
back Auto merge of #115986 - onur-ozkan:fix-cross-compilation-lto-problem, r=wesleywiser 2023-09-29 03:57:17 +00:00
coverageinfo coverage: Don't bother renumbering expressions on the Rust side 2023-09-21 18:32:49 +10:00
debuginfo subst -> instantiate 2023-09-26 09:37:55 +02:00
llvm Pass name of object file to LLVM so it can correctly emit S_OBJNAME 2023-09-25 19:31:58 +02:00
abi.rs cannot have Direct for unsized types 2023-09-15 10:45:37 +02:00
allocator.rs Auto merge of #113722 - bjorn3:allocator_shim_refactor, r=jackh726 2023-08-13 16:49:49 +00:00
asm.rs Auto merge of #114467 - Amanieu:asm-unstable-features, r=davidtwco 2023-08-15 11:59:02 +00:00
attributes.rs Auto merge of #113814 - ChoKyuWon:master, r=davidtwco 2023-08-18 13:20:37 +00:00
base.rs cg_llvm: remove pointee types and pointercast/bitcast-of-ptr 2023-07-29 13:18:17 -04:00
builder.rs Rollup merge of #113593 - rcvalle:rust-cfi-fix-90546, r=wesleywiser 2023-08-08 21:44:43 +02:00
callee.rs treat host effect params as erased generics in codegen 2023-09-14 07:34:35 +00:00
common.rs Auto merge of #105545 - erikdesjardins:ptrclean, r=bjorn3 2023-08-01 19:44:17 +00:00
consts.rs Auto merge of #105545 - erikdesjardins:ptrclean, r=bjorn3 2023-08-01 19:44:17 +00:00
context.rs Add OwnedTargetMachine to manage llvm:TargetMachine. Uses pointers 2023-09-24 21:11:37 +02:00
declare.rs CFI: Fix SIGILL reached via trait objects 2023-05-09 20:04:19 +00:00
errors.rs allow LTO on proc-macro crates with -Zdylib-lto 2023-09-23 17:08:43 +03:00
intrinsic.rs Prototype using const generic for simd_shuffle IDX array 2023-09-18 15:10:28 +00:00
lib.rs Add OwnedTargetMachine to manage llvm:TargetMachine. Uses pointers 2023-09-24 21:11:37 +02:00
llvm_util.rs Add OwnedTargetMachine to manage llvm:TargetMachine. Uses pointers 2023-09-24 21:11:37 +02:00
mono_item.rs rustc: Move crate_types from Session to GlobalCtxt 2023-08-09 14:17:54 +08:00
type_.rs cg_ssa: remove pointee types and pointercast/bitcast-of-ptr 2023-07-29 13:18:20 -04:00
type_of.rs Rollup merge of #115240 - RalfJung:llvm-no-type, r=bjorn3 2023-08-28 19:53:55 +02:00
va_arg.rs cg_llvm: remove pointee types and pointercast/bitcast-of-ptr 2023-07-29 13:18:17 -04:00
value.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00