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/gvn.duplicate_slice.GVN.panic-unwind.diff | |
| parent | 249a36ffbd577fc76153b7ad4cafd33607ee4ddc (diff) | |
| download | rust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.tar.gz rust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.zip | |
Bless *all* the mir-opt tests
Diffstat (limited to 'tests/mir-opt/gvn.duplicate_slice.GVN.panic-unwind.diff')
| -rw-r--r-- | tests/mir-opt/gvn.duplicate_slice.GVN.panic-unwind.diff | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/mir-opt/gvn.duplicate_slice.GVN.panic-unwind.diff b/tests/mir-opt/gvn.duplicate_slice.GVN.panic-unwind.diff index 8c96edaa280..55f382e926e 100644 --- a/tests/mir-opt/gvn.duplicate_slice.GVN.panic-unwind.diff +++ b/tests/mir-opt/gvn.duplicate_slice.GVN.panic-unwind.diff @@ -16,22 +16,22 @@ bb0: { _7 = (const "a",); - _1 = (_7.0: &str) as u128 (Transmute); - _5 = identity::<&str>((_7.0: &str)) -> [return: bb1, unwind continue]; + _1 = copy (_7.0: &str) as u128 (Transmute); + _5 = identity::<&str>(copy (_7.0: &str)) -> [return: bb1, unwind continue]; } bb1: { - _3 = _5 as u128 (Transmute); + _3 = copy _5 as u128 (Transmute); _8 = const "a"; - _2 = _8 as u128 (Transmute); - _6 = identity::<&str>(_8) -> [return: bb2, unwind continue]; + _2 = copy _8 as u128 (Transmute); + _6 = identity::<&str>(copy _8) -> [return: bb2, unwind continue]; } bb2: { - _4 = _6 as u128 (Transmute); - _9 = Eq(_1, _2); - _10 = Eq(_3, _4); - _0 = (_9, _10); + _4 = copy _6 as u128 (Transmute); + _9 = Eq(copy _1, copy _2); + _10 = Eq(copy _3, copy _4); + _0 = (copy _9, copy _10); return; } } |
