index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
compiler
/
rustc_mir_transform
/
src
/
match_branches.rs
Age
Commit message (
Expand
)
Author
Lines
2025-05-26
mir-opt: Do not transform non-int type in match_branches
dianqk
-2
/
+4
2025-04-20
mir-opt: Use one MirPatch in MatchBranchSimplification
dianqk
-23
/
+14
2025-04-19
Rollup merge of #139042 - compiler-errors:do-not-optimize-switchint, r=saethlin
Chris Denton
-1
/
+1
2025-04-12
In `rustc_mir_tranform`, iterate over index newtypes instead of ints
Yotam Ofek
-9
/
+8
2025-04-08
Do not optimize out SwitchInt before borrowck, or if Zmir-preserve-ub
Michael Goulet
-1
/
+1
2025-03-15
Stop relying on rustc_type_ir in non-type-system crates
Michael Goulet
-5
/
+4
2025-02-14
Move `MirPatch` from `rustc_middle` to `rustc_mir_transform`.
Nicholas Nethercote
-1
/
+1
2025-01-23
Disable non-required MIR opts with `optimize(none)`
clubby789
-0
/
+4
2024-12-27
MatchBranchSimplification: Consider empty-unreachable otherwise branch
clubby789
-9
/
+21
2024-11-26
Remove -Zfuel.
Camille GILLOT
-5
/
+0
2024-11-18
use `TypingEnv` when no `infcx` is available
lcnr
-24
/
+32
2024-11-03
compiler: Directly use rustc_abi in mir_transform
Jubilee Young
-1
/
+1
2024-09-13
Rename and reorder lots of lifetimes.
Nicholas Nethercote
-1
/
+1
2024-09-10
Improve comment formatting.
Nicholas Nethercote
-5
/
+9
2024-09-09
Reduce visibilities, and add `warn(unreachable_pub)`.
Nicholas Nethercote
-1
/
+1
2024-09-03
Rollup merge of #129926 - nnethercote:mv-SanityCheck-and-MirPass, r=cjgillot
Matthias Krüger
-1
/
+1
2024-09-03
Move `MirPass` to `rustc_mir_transform`.
Nicholas Nethercote
-1
/
+1
2024-09-02
chore: Fix typos in 'compiler' (batch 2)
Alexander Cyon
-10
/
+10
2024-08-03
Re-enable SimplifyToExp in match_branches.
DianQK
-4
/
+1
2024-08-03
Simplify match based on the cast result of `IntToInt`.
DianQK
-62
/
+79
2024-07-29
Reformat `use` declarations.
Nicholas Nethercote
-1
/
+2
2024-06-10
ScalarInt: size mismatches are a bug, do not delay the panic
Ralf Jung
-1
/
+1
2024-04-20
Auto merge of #124156 - DianQK:disable-match_branches, r=RalfJung
bors
-1
/
+4
2024-04-20
Disable SimplifyToExp in MatchBranchSimplification
DianQK
-1
/
+4
2024-04-19
ScalarInt: add methods to assert being a (u)int of given size
Ralf Jung
-2
/
+1
2024-04-08
Change the return type of `can_simplify` to `Option<()>`
DianQK
-28
/
+26
2024-04-08
Add comments for `CompareType`
DianQK
-8
/
+11
2024-04-08
Updating the MIR with MirPatch
DianQK
-50
/
+54
2024-04-08
Transforms a match containing negative numbers into an assignment statement a...
DianQK
-11
/
+38
2024-04-08
Transforms match into an assignment statement
DianQK
-7
/
+223
2024-04-08
Refactor `MatchBranchSimplification`
DianQK
-133
/
+205
2024-01-07
Merge dead bb pruning and unreachable bb deduplication.
Camille GILLOT
-1
/
+1
2023-12-10
remove redundant imports
surechen
-1
/
+0
2023-09-21
rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::Const
Ralf Jung
-6
/
+6
2023-07-25
inline format!() args from rustc_codegen_llvm to the end (4)
Matthias Krüger
-1
/
+1
2023-05-27
Try enabling MatchBranchSimplification
Ben Kimock
-2
/
+7
2023-04-23
Use param_env_reveal_all_normalized in MIR opts.
Camille GILLOT
-1
/
+1
2022-12-09
Remove unneeded field from `SwitchTargets`
Jakob Degen
-6
/
+6
2022-07-07
Make MIR basic blocks field public
Tomasz Miąsko
-2
/
+2
2022-05-02
fix most compiler/ doctests
Elliot Roberts
-2
/
+2
2021-12-02
Update passes with new interface
Dylan MacKenzie
-4
/
+4
2021-09-07
Rename rustc_mir to rustc_const_eval.
Camille GILLOT
-1
/
+1
2021-09-07
Move rustc_mir::transform to rustc_mir_transform.
Camille GILLOT
-0
/
+176