diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-08-18 14:26:34 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2024-08-18 16:07:33 -0700 |
| commit | 99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad (patch) | |
| tree | bb59a5f90f8a4a26f498d6748aec34d14a01d052 /tests/mir-opt/separate_const_switch.too_complex.JumpThreading.diff | |
| parent | 249a36ffbd577fc76153b7ad4cafd33607ee4ddc (diff) | |
| download | rust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.tar.gz rust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.zip | |
Bless *all* the mir-opt tests
Diffstat (limited to 'tests/mir-opt/separate_const_switch.too_complex.JumpThreading.diff')
| -rw-r--r-- | tests/mir-opt/separate_const_switch.too_complex.JumpThreading.diff | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/mir-opt/separate_const_switch.too_complex.JumpThreading.diff b/tests/mir-opt/separate_const_switch.too_complex.JumpThreading.diff index f7495862992..c88c63e0c13 100644 --- a/tests/mir-opt/separate_const_switch.too_complex.JumpThreading.diff +++ b/tests/mir-opt/separate_const_switch.too_complex.JumpThreading.diff @@ -35,15 +35,15 @@ } bb2: { - _5 = ((_1 as Err).0: usize); - _2 = ControlFlow::<usize, i32>::Break(_5); + _5 = copy ((_1 as Err).0: usize); + _2 = ControlFlow::<usize, i32>::Break(copy _5); - goto -> bb4; + goto -> bb8; } bb3: { - _4 = ((_1 as Ok).0: i32); - _2 = ControlFlow::<usize, i32>::Continue(_4); + _4 = copy ((_1 as Ok).0: i32); + _2 = ControlFlow::<usize, i32>::Continue(copy _4); goto -> bb4; } @@ -55,15 +55,15 @@ bb5: { StorageLive(_8); - _8 = ((_2 as Break).0: usize); + _8 = copy ((_2 as Break).0: usize); _0 = const Option::<i32>::None; StorageDead(_8); goto -> bb7; } bb6: { - _7 = ((_2 as Continue).0: i32); - _0 = Option::<i32>::Some(_7); + _7 = copy ((_2 as Continue).0: i32); + _0 = Option::<i32>::Some(copy _7); goto -> bb7; } |
