We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4f3431 commit 779007dCopy full SHA for 779007d
compiler/rustc_mir_transform/src/sroa.rs
@@ -10,7 +10,7 @@ pub struct ScalarReplacementOfAggregates;
10
11
impl<'tcx> MirPass<'tcx> for ScalarReplacementOfAggregates {
12
fn is_enabled(&self, sess: &rustc_session::Session) -> bool {
13
- sess.mir_opt_level() >= 4
+ sess.mir_opt_level() >= 3
14
}
15
16
fn run_pass(&self, tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) {
0 commit comments