rust/tests/codegen/simd
Scott McMurray 8cf2c71243 Let rvalue_creates_operand return true for *all* Rvalue::Aggregates
Inspired by <https://github.com/rust-lang/rust/pull/138759#discussion_r2156375342> where I noticed that we were nearly at this point, plus the comments I was writing in 143410 that reminded me a type-dependent `true` is fine.

This PR splits the `OperandRef::builder` logic out to a separate type, with the updates needed to handle SIMD as well.  In doing so, that makes the existing `Aggregate` path in `codegen_rvalue_operand` capable of handing SIMD values just fine.

As a result, we no longer need to do layout calculations for aggregate result types when running the analysis to determine which things can be SSA in codegen.
2025-07-07 23:08:10 -07:00
..
aggregate-simd.rs Let rvalue_creates_operand return true for *all* Rvalue::Aggregates 2025-07-07 23:08:10 -07:00
extract-insert-dyn.rs Fix test simd/extract-insert-dyn on s390x 2025-05-03 10:15:32 +02:00
packed-simd-alignment.rs Test codegen for repr(packed,simd) 2024-06-02 04:13:35 -07:00
packed-simd.rs x86 (32/64): go back to passing SIMD vectors by-ptr 2025-06-04 08:38:49 +02:00
project-to-simd-array-field.rs Rework OperandRef::extract_field to stop calling to_immediate_scalar on things which are already immediates 2025-02-19 12:03:40 -08:00
simd-wide-sum.rs replace //@ compile-flags: --edition with //@ edition 2025-04-10 09:56:37 +02:00
simd_arith_offset.rs use the right feature in codegen tests 2025-02-27 12:23:00 +01:00
swap-simd-types.rs Ensure swap_nonoverlapping is really always untyped 2025-04-09 09:09:37 -07:00
unpadded-simd.rs Ban non-array SIMD 2024-09-09 19:39:43 -07:00