diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2024-02-12 04:56:03 +0100 |
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2024-02-12 17:37:05 +0100 |
| commit | faaf81bbbcd5114ad8268190f3cc235868997ae3 (patch) | |
| tree | ed62909c2ddf40630b2c4adfb60f9585e39b5137 /tests/mir-opt/reference_prop.debuginfo.ReferencePropagation.diff | |
| parent | f4cfd872028398da2b2d85c368c51f4d007dc6af (diff) | |
| download | rust-faaf81bbbcd5114ad8268190f3cc235868997ae3.tar.gz rust-faaf81bbbcd5114ad8268190f3cc235868997ae3.zip | |
Start blocks eagerly
Diffstat (limited to 'tests/mir-opt/reference_prop.debuginfo.ReferencePropagation.diff')
| -rw-r--r-- | tests/mir-opt/reference_prop.debuginfo.ReferencePropagation.diff | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/mir-opt/reference_prop.debuginfo.ReferencePropagation.diff b/tests/mir-opt/reference_prop.debuginfo.ReferencePropagation.diff index 1648f5dd8ca..84350b0dc51 100644 --- a/tests/mir-opt/reference_prop.debuginfo.ReferencePropagation.diff +++ b/tests/mir-opt/reference_prop.debuginfo.ReferencePropagation.diff @@ -67,10 +67,14 @@ StorageLive(_7); _7 = Option::<i32>::Some(const 0_i32); _8 = discriminant(_7); - switchInt(move _8) -> [0: bb3, 1: bb1, otherwise: bb2]; + switchInt(move _8) -> [0: bb3, 1: bb2, otherwise: bb1]; } bb1: { + unreachable; + } + + bb2: { StorageLive(_9); _27 = const _; _9 = &(((*_27) as Some).0: i32); @@ -79,10 +83,6 @@ goto -> bb4; } - bb2: { - unreachable; - } - bb3: { - _6 = const (); goto -> bb4; |
