Run SimplifyComparisonIntegral with opt-level 2
This commit is contained in:
parent
37f83fb11d
commit
3b1756fbf5
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ pub(super) struct SimplifyComparisonIntegral;
|
|||
|
||||
impl<'tcx> crate::MirPass<'tcx> for SimplifyComparisonIntegral {
|
||||
fn is_enabled(&self, sess: &rustc_session::Session) -> bool {
|
||||
sess.mir_opt_level() > 0
|
||||
sess.mir_opt_level() > 1
|
||||
}
|
||||
|
||||
fn run_pass(&self, tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue