Enable by default.

This commit is contained in:
Camille GILLOT 2023-03-11 15:27:44 +00:00
parent 341e0f78d1
commit b74a144a5f
22 changed files with 576 additions and 763 deletions

View file

@ -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))]