about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorDylan MacKenzie <ecstaticmorse@gmail.com>2021-11-30 10:14:50 -0800
committerDylan MacKenzie <ecstaticmorse@gmail.com>2021-11-30 17:14:48 -0800
commitbb27b051046712c903670f7401a32e990a950f05 (patch)
treee7c9e2040b75d9088b2a400677fc393ed9b5f596 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent6db0a0e9a4a2f55b1a85954e114ada0b45c32e45 (diff)
downloadrust-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