rust/tests/codegen/enum
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
..
enum-aggregate.rs Let rvalue_creates_operand return true for *all* Rvalue::Aggregates 2025-07-07 23:08:10 -07:00
enum-bounds-check-derived-idx.rs tests/codegen: use -Copt-level=3 instead of -O 2025-02-11 13:41:35 -08:00
enum-bounds-check-issue-13926.rs tests/codegen: use -Copt-level=3 instead of -O 2025-02-11 13:41:35 -08:00
enum-bounds-check-issue-82871.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
enum-bounds-check.rs tests/codegen: use -Copt-level=3 instead of -O 2025-02-11 13:41:35 -08:00
enum-debug-clike.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
enum-debug-niche-2.rs debuginfo: Set bitwidth appropriately in enum variant tags 2025-02-12 18:01:42 +00:00
enum-debug-niche.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
enum-debug-tagged.rs Run rustfmt on tests/codegen/. 2024-05-31 15:56:43 +10:00
enum-discriminant-value.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
enum-early-otherwise-branch.rs tests/codegen: use -Copt-level=3 instead of -O 2025-02-11 13:41:35 -08:00
enum-match.rs Include optional dso_local marker for functions in enum-match.rs 2025-04-15 22:18:10 -05:00
enum-two-variants-match.rs Address PR feedback 2025-04-07 18:12:06 -07:00
enum-u128.rs Stabilise repr128 2025-05-28 15:14:34 +01:00
unreachable_enum_default_branch.rs tests/codegen: use -Copt-level=3 instead of -O 2025-02-11 13:41:35 -08:00