about summary refs log tree commit diff
path: root/src/test/mir-opt/if_condition_int.opt_u32.SimplifyComparisonIntegral.diff
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-39/+0
2022-12-09Remove unneeded field from `SwitchTargets`Jakob Degen-2/+2
2022-11-02Ban dashes in miropt test file namesJakob Degen-21/+21
2022-07-28bless mir opt testsNilstrieb-21/+21
2022-04-29exp-stuff-dirtyouz-a-4/+0
2022-04-16Switch some tests over to new MIR opt unit testsJakob Degen-0/+4
2021-09-01Fix drop handling for `if let` expressionsMatthew Jasper-4/+4
MIR lowering for `if let` expressions is now more complicated now that `if let` exists in HIR. This PR adds a scope for the variables bound in an `if let` expression and then uses an approach similar to how we handle loops to ensure that we reliably drop the correct variables.
2021-01-07Reintroduce hir::ExprKind::IfCaio-6/+6
2020-08-29New pass to optimize `if`conditions on integrals to switches on the integerSimon Vandel Sillesen-0/+39
Fixes #75144