Enable by default.
This commit is contained in:
parent
341e0f78d1
commit
b74a144a5f
22 changed files with 576 additions and 763 deletions
|
@ -71,7 +71,7 @@ pub struct ReferencePropagation;
|
|||
|
||||
impl<'tcx> MirPass<'tcx> for ReferencePropagation {
|
||||
fn is_enabled(&self, sess: &rustc_session::Session) -> bool {
|
||||
sess.mir_opt_level() >= 4
|
||||
sess.mir_opt_level() >= 2
|
||||
}
|
||||
|
||||
#[instrument(level = "trace", skip(self, tcx, body))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue