Require -Zmir-opt-level >= 3 for now
This commit is contained in:
parent
2e034dc68c
commit
74d53ab912
5 changed files with 8 additions and 22 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue