about summary refs log tree commit diff
path: root/tests/codegen/enum
AgeCommit message (Expand)AuthorLines
2025-07-22Rename `tests/codegen` into `tests/codegen-llvm`Guillaume Gomez-1603/+0
2025-07-12Simplify codegen for niche-encoded variant testsScott McMurray-35/+26
2025-07-11More discriminant codegen testsScott McMurray-0/+538
2025-07-10Rollup merge of #143270 - TimNN:fix-enum-match, r=nikicTrevor Gross-1/+1
2025-07-07Let `rvalue_creates_operand` return true for *all* `Rvalue::Aggregate`sScott McMurray-9/+6
2025-07-03Allow all MIR `Aggregate`s to take the operand path (if layout permits)Scott McMurray-0/+129
2025-07-01tests/codegen/enum/enum-match.rs: accept negative range attributeTim Neumann-1/+1
2025-05-28Stabilise `repr128`beetrees-3/+0
2025-04-15Include optional dso_local marker for functions in `enum-match.rs`Christian Poveda-6/+6
2025-04-07Address PR feedbackScott McMurray-0/+16
2025-04-05LLVM18 compatibility fixes in the testsScott McMurray-3/+6
2025-04-05Tell LLVM about impossible niche tagsScott McMurray-19/+437
2025-04-05Update the minimum external LLVM to 19Josh Stone-1/+0
2025-03-12Don't `alloca` just to look at a discriminantScott McMurray-17/+20
2025-03-06Use `trunc nuw`+`br` for 0/1 branches even in optimized buildsScott McMurray-0/+51
2025-02-13Rollup merge of #136895 - maurer:fix-enum-discr, r=nikicJubilee-2/+2
2025-02-12debuginfo: Set bitwidth appropriately in enum variant tagsMatthew Maurer-2/+2
2025-02-11tests/codegen: use -Copt-level=3 instead of -OJubilee Young-5/+5
2024-09-18Update the minimum external LLVM to 18Josh Stone-1/+0
2024-09-14Simplify the canonical clone method to copyDianQK-2/+4
2024-08-11Add range attribute to scalar function results and argumentsAndreas Jonson-1/+1
2024-05-31Run rustfmt on `tests/codegen/`.Nicholas Nethercote-12/+21
2024-04-30codegen tests: Tolerate `range()` qualifications in enum testsMatthew Maurer-3/+3
2024-04-24Auto merge of #122053 - erikdesjardins:alloca, r=nikicbors-1/+1
2024-04-22Stabilize generic `NonZero`.Markus Reiter-1/+1
2024-04-11use [N x i8] for alloca typesErik Desjardins-1/+1
2024-04-08Add test case for #119014DianQK-0/+26
2024-04-03Auto merge of #122225 - DianQK:nits-120268, r=cjgillotbors-24/+43
2024-03-13Update `unreachable_enum_default_branch.rs`DianQK-24/+43
2024-03-11Update test directives for `wasm32-wasip1`Alex Crichton-0/+4
2024-03-07Replace the default branch with an unreachable branch If it is the last variantDianQK-0/+24
2024-02-25Use generic `NonZero` in tests.Markus Reiter-10/+7
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-17/+17
2023-07-29tests/codegen/enum-* -> enum/enum-*Jubilee Young-0/+381