Auto merge of #119377 - tmiasko:after, r=cjgillot
Don't validate / lint MIR before each pass To avoid redundant work and verbose output in case of failures.
This commit is contained in:
commit
c2354aabea
2 changed files with 1 additions and 7 deletions
|
@ -129,12 +129,6 @@ fn run_passes_inner<'tcx>(
|
|||
if dump_enabled {
|
||||
dump_mir_for_pass(tcx, body, name, false);
|
||||
}
|
||||
if validate {
|
||||
validate_body(tcx, body, format!("before pass {name}"));
|
||||
}
|
||||
if lint {
|
||||
lint_body(tcx, body, format!("before pass {name}"));
|
||||
}
|
||||
|
||||
if let Some(prof_arg) = &prof_arg {
|
||||
tcx.sess
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue