summary refs log tree commit diff
path: root/src/test/mir-opt/simplify_try.rs
AgeCommit message (Collapse)AuthorLines
2020-04-07--bless all mir-opt tests.Ana-Maria Mihalache-207/+4
2020-04-02Remove unused discriminant reads from MIR bodiesWesley Wiser-9/+7
Allow the `SimplifyLocals` pass to remove reads of discriminants if the read is never used.
2020-02-01Update existing tests for or-patternsMatthew Jasper-20/+20
2020-01-14Add unreachable propagation mir optimization passKonstantinos Triantafyllou-16/+10
2019-11-27rustc: move debug info from LocalDecl and UpvarDecl into a dedicated ↵Eduard-Mihai Burtescu-0/+30
VarDebugInfo.
2019-11-21Introduce MIR optimizations for simplifying `x?` on `Result`s.Mazdak Farrokhzad-0/+193
This optimization depends on inlining for the identity conversions introduced by the lowering of the `?`. To take advantage of `SimplifyArmIdentity`, `-Z mir-opt-level=2` is required because that triggers the inlining MIR optimization.