diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2024-06-28 13:02:08 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2024-07-13 12:02:10 +0000 |
| commit | 7ac7f135e3938c55e2fccb194ece52519c1797d2 (patch) | |
| tree | 5ad5fb9a4bb5844eaeac76f9ecdc5fb0bafff6a2 /tests/mir-opt/jump_threading.aggregate_copy.JumpThreading.panic-unwind.diff | |
| parent | af876626b057bd4c1cf73897b8313f1d09ea6176 (diff) | |
| download | rust-7ac7f135e3938c55e2fccb194ece52519c1797d2.tar.gz rust-7ac7f135e3938c55e2fccb194ece52519c1797d2.zip | |
Propagate places through assignments.
Diffstat (limited to 'tests/mir-opt/jump_threading.aggregate_copy.JumpThreading.panic-unwind.diff')
| -rw-r--r-- | tests/mir-opt/jump_threading.aggregate_copy.JumpThreading.panic-unwind.diff | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mir-opt/jump_threading.aggregate_copy.JumpThreading.panic-unwind.diff b/tests/mir-opt/jump_threading.aggregate_copy.JumpThreading.panic-unwind.diff index ec62ba2feea..0c8e04a1e74 100644 --- a/tests/mir-opt/jump_threading.aggregate_copy.JumpThreading.panic-unwind.diff +++ b/tests/mir-opt/jump_threading.aggregate_copy.JumpThreading.panic-unwind.diff @@ -29,7 +29,8 @@ StorageLive(_5); _5 = _3; _4 = Eq(move _5, const 2_u32); - switchInt(move _4) -> [0: bb2, otherwise: bb1]; +- switchInt(move _4) -> [0: bb2, otherwise: bb1]; ++ goto -> bb2; } bb1: { |
