about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-10-25 15:55:39 +0000
committerbors <bors@rust-lang.org>2022-10-25 15:55:39 +0000
commitbed4ad65bf7a1cef39e3d66b3670189581b3b073 (patch)
tree02263f6f12f29311d0a167b5eda8c688c14683a8 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent85d089b41e2a0c0f07ab34f6c5a7c451389f25e6 (diff)
parentbe2401b8bfc824026b477f11b876b5611cb204c0 (diff)
downloadrust-bed4ad65bf7a1cef39e3d66b3670189581b3b073.tar.gz
rust-bed4ad65bf7a1cef39e3d66b3670189581b3b073.zip
Auto merge of #102340 - JakobDegen:pass-manager-simplification, 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 #99102 .

r? `@oli-obk` cc `@RalfJung`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions