Skip to content

Commit

Permalink
Auto merge of rust-lang#102340 - JakobDegen:pass-manager-simplificati…
Browse files Browse the repository at this point in the history
…on, r=oli-obk

Split phase change from `MirPass`

The main goal here is to simplify the pass manager logic. `MirPass` no longer contains the `phase_change` method, and `run_passes` instead accepts an `Option<PhaseChange>`. The hope is that this addresses the comments (and maybe perf regression) from rust-lang#99102 .

r? `@oli-obk` cc `@RalfJung`
  • Loading branch information
bors committed Oct 25, 2022
2 parents de0fd42 + 1bccc94 commit 1b7ebbc
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 1b7ebbc

Please sign in to comment.