about summary refs log tree commit diff
path: root/tests/codegen/enum/enum-two-variants-match.rs
AgeCommit message (Collapse)AuthorLines
2025-04-07Address PR feedbackScott McMurray-0/+16
2025-04-05Tell LLVM about impossible niche tagsScott McMurray-1/+62
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
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-06Use `trunc nuw`+`br` for 0/1 branches even in optimized buildsScott McMurray-0/+51
Rather than needing to use `switch` for them to include the `unreachable` arm