Introduce debug information to statements in MIR #867
Labels
major-change
A proposal to make a major change to rustc
T-compiler
Add this label so rfcbot knows to poll the compiler team
Proposal
Currently, the MIR optimization passes are unable to eliminate dead statements that contain debug information. For example:
To enable more optimizations within MIR, I propose adding debug information to
Statement
. This will allow us to preserve necessary debug information while eliminating the statements when they are dead.Mentors or Reviewers
@wesleywiser (because of your work on MIR optimizations and debug information)
Process
The main points of the Major Change Process are as follows:
@rustbot second
.-C flag
, then full team check-off is required.@rfcbot fcp merge
on either the MCP or the PR.You can read more about Major Change Proposals on forge.
The text was updated successfully, but these errors were encountered: