diff options
| author | bors <bors@rust-lang.org> | 2020-01-15 05:01:10 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-01-15 05:01:10 +0000 |
| commit | 632387f38dfbac0f2b8b8900c840fff7f1fb888e (patch) | |
| tree | 0e9b67817f534b1eb4cd1d192ac5a0c27a70bc37 /src/test/codegen | |
| parent | 4b172cc73f5f1fb1e3d60527fb29605fa267985c (diff) | |
| parent | 72710d6dc2d0511cd21378f7cc99ac59ac3a5af5 (diff) | |
| download | rust-632387f38dfbac0f2b8b8900c840fff7f1fb888e.tar.gz rust-632387f38dfbac0f2b8b8900c840fff7f1fb888e.zip | |
Auto merge of #66329 - ktrianta:mir-opt-unreachable-propagation, r=oli-obk
Add unreachable propagation mir optimization pass @oli-obk suggested we create a MIR pass that optimizes away basic blocks that lead only to basic blocks with terminator kind **unreachable**. This is a first take on this, which we started with @gilescope at RustFest Impl Days. The test currently fails when the compiled program runs (undefined behaviour). Is there a way to avoid running the compiled program?
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions
