rust/tests/codegen/enum
Scott McMurray 143f39362a Don't alloca just to look at a discriminant
Today we're making LLVM do a bunch of extra work for every enum you match on, even trivial stuff like `Option<bool>`.  Let's not.
2025-03-12 00:56:43 -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
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
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 Add range attribute to scalar function results and arguments 2024-08-11 19:40:44 +02:00
enum-two-variants-match.rs Don't alloca just to look at a discriminant 2025-03-12 00:56:43 -07:00
enum-u128.rs Update test directives for wasm32-wasip1 2024-03-11 09:36:35 -07:00
unreachable_enum_default_branch.rs tests/codegen: use -Copt-level=3 instead of -O 2025-02-11 13:41:35 -08:00