rust/tests/codegen/intrinsics
Scott McMurray 1de2257c3f Add intrinsics::transmute_unchecked
This takes a whole 3 lines in `compiler/` since it lowers to `CastKind::Transmute` in MIR *exactly* the same as the existing `intrinsics::transmute` does, it just doesn't have the fancy checking in `hir_typeck`.

Added to enable experimenting with the request in <https://github.com/rust-lang/rust/pull/106281#issuecomment-1496648190> and because the portable-simd folks might be interested for dependently-sized array-vector conversions.

It also simplifies a couple places in `core`.
2023-04-22 17:22:03 -07:00
..
const_eval_select.rs Add more codegen tests 2023-01-17 16:23:22 +01:00
exact_div.rs
likely.rs
mask.rs Add more codegen tests 2023-01-17 16:23:22 +01:00
nearby.rs
nontemporal.rs
offset_from.rs
prefetch.rs
transmute-niched.rs assume value ranges in transmute 2023-04-13 00:12:39 -07:00
transmute-x64.rs Handle not all immediates having abi::Scalars 2023-04-09 11:16:50 -07:00
transmute.rs Add intrinsics::transmute_unchecked 2023-04-22 17:22:03 -07:00
unchecked_math.rs
volatile_order.rs
volatile.rs