about summary refs log tree commit diff
path: root/src/test/mir-opt/if_condition_int.dont_opt_bool.SimplifyComparisonIntegral.diff
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-30/+0
2022-12-09Remove unneeded field from `SwitchTargets`Jakob Degen-1/+1
2022-11-02Ban dashes in miropt test file namesJakob Degen-12/+12
2022-07-28bless mir opt testsNilstrieb-12/+12
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-1/+1
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-4/+4
2020-08-29New pass to optimize `if`conditions on integrals to switches on the integerSimon Vandel Sillesen-0/+30
Fixes #75144