Enable by default.
This commit is contained in:
parent
f4cfd87202
commit
e132cac3c4
12 changed files with 370 additions and 582 deletions
|
@ -60,7 +60,7 @@ const MAX_PLACES: usize = 100;
|
|||
|
||||
impl<'tcx> MirPass<'tcx> for JumpThreading {
|
||||
fn is_enabled(&self, sess: &rustc_session::Session) -> bool {
|
||||
sess.mir_opt_level() >= 4
|
||||
sess.mir_opt_level() >= 2
|
||||
}
|
||||
|
||||
#[instrument(skip_all level = "debug")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue