about summary refs log tree commit diff
path: root/tests/mir-opt/issue_101973.inner.GVN.panic-unwind.diff
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2024-08-18 14:26:34 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2024-08-18 16:07:33 -0700
commit99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad (patch)
treebb59a5f90f8a4a26f498d6748aec34d14a01d052 /tests/mir-opt/issue_101973.inner.GVN.panic-unwind.diff
parent249a36ffbd577fc76153b7ad4cafd33607ee4ddc (diff)
downloadrust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.tar.gz
rust-99cb0c6bc399fb94a0ddde7e9b38e9c00d523bad.zip
Bless *all* the mir-opt tests
Diffstat (limited to 'tests/mir-opt/issue_101973.inner.GVN.panic-unwind.diff')
-rw-r--r--tests/mir-opt/issue_101973.inner.GVN.panic-unwind.diff14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/mir-opt/issue_101973.inner.GVN.panic-unwind.diff b/tests/mir-opt/issue_101973.inner.GVN.panic-unwind.diff
index c5fd042161d..96c3cae2d33 100644
--- a/tests/mir-opt/issue_101973.inner.GVN.panic-unwind.diff
+++ b/tests/mir-opt/issue_101973.inner.GVN.panic-unwind.diff
@@ -29,22 +29,22 @@
           StorageLive(_3);
           StorageLive(_4);
           StorageLive(_5);
-          _5 = _1;
+          _5 = copy _1;
           nop;
 -         StorageLive(_14);
--         _14 = BitAnd(_5, const 255_u32);
+-         _14 = BitAnd(copy _5, const 255_u32);
 -         _4 = BitOr(const 0_u32, move _14);
 -         StorageDead(_14);
 +         nop;
-+         _14 = BitAnd(_1, const 255_u32);
-+         _4 = _14;
++         _14 = BitAnd(copy _1, const 255_u32);
++         _4 = copy _14;
 +         nop;
           StorageDead(_5);
           StorageLive(_6);
           StorageLive(_7);
           StorageLive(_8);
           StorageLive(_9);
-          _9 = _1;
+          _9 = copy _1;
 -         _10 = const 8_i32 as u32 (IntToInt);
 -         _11 = Lt(move _10, const 32_u32);
 -         assert(move _11, "attempt to shift right by `{}`, which would overflow", const 8_i32) -> [success: bb1, unwind continue];
@@ -55,7 +55,7 @@
   
       bb1: {
 -         _8 = Shr(move _9, const 8_i32);
-+         _8 = Shr(_1, const 8_i32);
++         _8 = Shr(copy _1, const 8_i32);
           StorageDead(_9);
           _7 = BitAnd(move _8, const 15_u32);
           StorageDead(_8);
@@ -71,7 +71,7 @@
           _6 = Shl(move _7, const 1_i32);
           StorageDead(_7);
 -         _3 = rotate_right::<u32>(move _4, move _6) -> [return: bb3, unwind unreachable];
-+         _3 = rotate_right::<u32>(_14, move _6) -> [return: bb3, unwind unreachable];
++         _3 = rotate_right::<u32>(copy _14, move _6) -> [return: bb3, unwind unreachable];
       }
   
       bb3: {