about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/match_branches.rs
AgeCommit message (Expand)AuthorLines
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-1/+1
2024-04-20Auto merge of #124156 - DianQK:disable-match_branches, r=RalfJungbors-1/+4
2024-04-20Disable SimplifyToExp in MatchBranchSimplificationDianQK-1/+4
2024-04-19ScalarInt: add methods to assert being a (u)int of given sizeRalf Jung-2/+1
2024-04-08Change the return type of `can_simplify` to `Option<()>`DianQK-28/+26
2024-04-08Add comments for `CompareType`DianQK-8/+11
2024-04-08Updating the MIR with MirPatchDianQK-50/+54
2024-04-08Transforms a match containing negative numbers into an assignment statement a...DianQK-11/+38
2024-04-08Transforms match into an assignment statementDianQK-7/+223
2024-04-08Refactor `MatchBranchSimplification`DianQK-133/+205
2024-01-07Merge dead bb pruning and unreachable bb deduplication.Camille GILLOT-1/+1
2023-12-10remove redundant importssurechen-1/+0
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-6/+6
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-1/+1
2023-05-27Try enabling MatchBranchSimplificationBen Kimock-2/+7
2023-04-23Use param_env_reveal_all_normalized in MIR opts.Camille GILLOT-1/+1
2022-12-09Remove unneeded field from `SwitchTargets`Jakob Degen-6/+6
2022-07-07Make MIR basic blocks field publicTomasz Miąsko-2/+2
2022-05-02fix most compiler/ doctestsElliot Roberts-2/+2
2021-12-02Update passes with new interfaceDylan MacKenzie-4/+4
2021-09-07Rename rustc_mir to rustc_const_eval.Camille GILLOT-1/+1
2021-09-07Move rustc_mir::transform to rustc_mir_transform.Camille GILLOT-0/+176