about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/passes.rs
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-05-09 15:36:22 +0000
committerOli Scherer <github333195615777966@oli-obk.de>2025-05-14 08:04:56 +0000
commite011c43bcf3bc01e04738b47b7d8dc9affda8659 (patch)
treee1e4c7d838d8d008861f73f2fd3c573509a005b2 /compiler/rustc_interface/src/passes.rs
parentc86e33b77108ae2842b93f4d158280bcd7346147 (diff)
downloadrust-e011c43bcf3bc01e04738b47b7d8dc9affda8659.tar.gz
rust-e011c43bcf3bc01e04738b47b7d8dc9affda8659.zip
Merge mir query analysis invocations
The reasons I'm doing it is that

* merging those blocks allows for more parallelism as you don't run parallel blocks in sequence
* merging blocks allows merging analysis queries shrinking the dep graph
* should allow us to do more early aborting in case of errors and/or moving query calls from the analysis query into others that allow early aborting the others (and doing more tainting and stuff)
Diffstat (limited to 'compiler/rustc_interface/src/passes.rs')
-rw-r--r--compiler/rustc_interface/src/passes.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 7ed32d559c3..6932b09f0cd 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -1002,10 +1002,6 @@ fn run_required_analyses(tcx: TyCtxt<'_>) {
             if !tcx.is_typeck_child(def_id.to_def_id()) {
                 tcx.ensure_ok().mir_borrowck(def_id)
             }
-        });
-    });
-    sess.time("MIR_effect_checking", || {
-        tcx.par_hir_body_owners(|def_id| {
             tcx.ensure_ok().has_ffi_unwind_calls(def_id);
 
             // If we need to codegen, ensure that we emit all errors from