diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2021-11-30 10:14:50 -0800 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2021-11-30 17:14:48 -0800 |
| commit | bb27b051046712c903670f7401a32e990a950f05 (patch) | |
| tree | e7c9e2040b75d9088b2a400677fc393ed9b5f596 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff | |
| parent | 6db0a0e9a4a2f55b1a85954e114ada0b45c32e45 (diff) | |
| download | rust-bb27b051046712c903670f7401a32e990a950f05.tar.gz rust-bb27b051046712c903670f7401a32e990a950f05.zip | |
Separate `RemoveFalseEdges` from `SimplifyBranches`
Otherwise dataflow state will propagate along false edges and cause
things to be marked as maybe init unnecessarily. These should be
separate, since `SimplifyBranches` also makes `if true {} else {}` into
a `goto`, which means we wouldn't lint anything in the `else` block.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions
