Closed
Description
Tracking issue for transition to MIR (rust-lang/rfcs#1211).
Relevant discuss thread: https://internals.rust-lang.org/t/transitioning-to-mir/2706
Regressions
These are cases where building MIR is causing existing crates to stop working.
- Stack overflow when compiling lots of macros #29466
- reduce memory usage for match Perf regression in nightly when compiling massive matches #29227
Refactorings
These are places where the design of MIR needs some tweaks. In some cases, the best course of action may be unclear or in active debate.
- Calls Mir: Refactor calls to permit calls that cannot panic and to better accommodate calls that always panic #29767
- Panics Mir: remove Panic terminator and instead just call suitable lang item #29573
- Scopes Mir: refactor how scopes are represented #29768
- Overflow Mir: introduce overflow operations #29769
Other work
- issues tagged with A-mir
- add overflow and division by zero checking
- constant propagation and hoisting
- port rvalue checking
- port dead-code pass
- port reachability
- port match checking to take place during MIR construction
- port effect checking
- port intrinsicck
- enable trans universally