about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-22 12:14:23 +0000
committerbors <bors@rust-lang.org>2021-02-22 12:14:23 +0000
commit15598a83db88ec7a32ea18a44dd6309f32edc07e (patch)
treec94dd4ec1eaf1dda253a132d8704e9b21624487c /compiler/rustc_codegen_llvm/src
parent8a9f7862bcfa5870a34bb54f77a03c73d1db5c37 (diff)
parent2d1e0adfe9fbe3e0ebdac3ba80b9781cb4f800f7 (diff)
downloadrust-15598a83db88ec7a32ea18a44dd6309f32edc07e.tar.gz
rust-15598a83db88ec7a32ea18a44dd6309f32edc07e.zip
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
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions