diff options
| author | bors <bors@rust-lang.org> | 2023-05-28 21:53:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-05-28 21:53:56 +0000 |
| commit | 089677eb32af83318467325edbef9b64053df532 (patch) | |
| tree | d1863fbc8e15a88e528495262199fab40bdc17c4 /compiler/rustc_hir_analysis/src/lib.rs | |
| parent | 1c53407e8c7cc922d718bde61ca34f47b6d2120f (diff) | |
| parent | d69725d5d5173e6c6fc20873f306cbd66fa963e7 (diff) | |
| download | rust-089677eb32af83318467325edbef9b64053df532.tar.gz rust-089677eb32af83318467325edbef9b64053df532.zip | |
Auto merge of #111813 - scottmcm:pretty-mir, r=cjgillot
MIR: opt-in normalization of `BasicBlock` and `Local` numbering This doesn't matter at all for actual codegen, but after spending some time reading pre-codegen MIR, I was wishing I didn't have to jump around so much in reading post-inlining code. So this add two passes that are off by default for every mir level, but can be enabled (`-Zmir-enable-passes=+ReorderBasicBlocks,+ReorderLocals`) for humans.
Diffstat (limited to 'compiler/rustc_hir_analysis/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
