rust/compiler/rustc_middle
bors 15598a83db Auto merge of #77551 - simonvandel:extend-simplify-branch-same, r=oli-obk
MIR-OPT: Pass to deduplicate blocks

This pass finds basic blocks that are completely equal,
and replaces all uses with just one of them.

```bash
$ RUSTC_LOG=rustc_mir::transform::deduplicate_blocks ./x.py build --stage 2 | grep "SUCCESS: Replacing: " > log
...
$ cat log | wc -l
23875
```
2021-02-22 12:14:23 +00:00
..
benches
src Auto merge of #77551 - simonvandel:extend-simplify-branch-same, r=oli-obk 2021-02-22 12:14:23 +00:00
Cargo.toml bumped smallvec deps 2021-02-14 18:03:11 +03:00
README.md

For more information about how rustc works, see the rustc dev guide.