Disable non-required MIR opts with optimize(none)
Co-authored-by: Waffle Lapkin <waffle.lapkin@gmail.com>
This commit is contained in:
parent
cd848c9f3e
commit
7a9661d768
57 changed files with 319 additions and 10 deletions
|
@ -81,6 +81,10 @@ impl<'tcx> crate::MirPass<'tcx> for ReferencePropagation {
|
|||
debug!(def_id = ?body.source.def_id());
|
||||
while propagate_ssa(tcx, body) {}
|
||||
}
|
||||
|
||||
fn is_required(&self) -> bool {
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
fn propagate_ssa<'tcx>(tcx: TyCtxt<'tcx>, body: &mut Body<'tcx>) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue