1
Fork 0

Require -Zmir-opt-level >= 3 for now

This commit is contained in:
Jannis Christopher Köhl 2022-11-12 15:24:23 +01:00
parent 2e034dc68c
commit 74d53ab912
5 changed files with 8 additions and 22 deletions

View file

@ -21,7 +21,7 @@ pub struct DataflowConstProp;
impl<'tcx> MirPass<'tcx> for DataflowConstProp {
fn is_enabled(&self, sess: &rustc_session::Session) -> bool {
sess.mir_opt_level() >= 1
sess.mir_opt_level() >= 3
}
#[instrument(skip_all level = "debug")]