rust/compiler/rustc_mir/src
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
..
borrow_check Rollup merge of #82136 - edward-shen:mismatched-subst-and-hir, r=lcnr 2021-02-17 20:37:58 +01:00
const_eval Auto merge of #82124 - tmiasko:op-ty-ref, r=oli-obk 2021-02-20 10:20:42 +00:00
dataflow Remove RCs from Borrows 2021-02-08 20:37:16 +01:00
interpret rustc_mir: remove redundant wrapping of return type in numeric_intrinsic() 2021-02-21 13:44:16 +01:00
monomorphize Only store a LocalDefId in hir::ImplItem. 2021-02-15 19:32:29 +01:00
transform Auto merge of #77551 - simonvandel:extend-simplify-branch-same, r=oli-obk 2021-02-22 12:14:23 +00:00
util Remove redundant rustc_data_structures path component 2021-02-17 09:30:08 +01:00
lib.rs Prevent query cycles during inlining 2021-01-23 16:51:22 +00:00
shim.rs Replace let Some(..) = with .is_some() 2021-01-17 19:06:12 -05:00