Skip to content

Commit a2c3ebf

Browse files
committed
Rebase fallout.
1 parent e83ccae commit a2c3ebf

2 files changed

Lines changed: 12 additions & 2 deletions

tests/mir-opt/dont_reset_cast_kind_without_updating_operand.test.GVN.32bit.panic-abort.diff

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
+ _4 = const ();
5151
StorageLive(_12);
5252
StorageLive(_13);
53-
_13 = boxed::box_new_uninit(const <() as std::mem::SizedTypeProperties>::LAYOUT) -> [return: bb2, unwind unreachable];
53+
- _13 = boxed::box_new_uninit(const <() as std::mem::SizedTypeProperties>::LAYOUT) -> [return: bb2, unwind unreachable];
54+
+ _13 = boxed::box_new_uninit(const Layout {{ size: 0_usize, align: std::ptr::Alignment {{ _inner_repr_trick: std::ptr::alignment::AlignmentEnum::_Align1Shl0 }} }}) -> [return: bb2, unwind unreachable];
5455
}
5556

5657
bb1: {
@@ -103,5 +104,9 @@
103104
+ nop;
104105
drop(_3) -> [return: bb1, unwind unreachable];
105106
}
107+
+ }
108+
+
109+
+ ALLOC0 (size: 8, align: 4) {
110+
+ 01 00 00 00 00 00 00 00 │ ........
106111
}
107112

tests/mir-opt/dont_reset_cast_kind_without_updating_operand.test.GVN.64bit.panic-abort.diff

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
+ _4 = const ();
5151
StorageLive(_12);
5252
StorageLive(_13);
53-
_13 = boxed::box_new_uninit(const <() as std::mem::SizedTypeProperties>::LAYOUT) -> [return: bb2, unwind unreachable];
53+
- _13 = boxed::box_new_uninit(const <() as std::mem::SizedTypeProperties>::LAYOUT) -> [return: bb2, unwind unreachable];
54+
+ _13 = boxed::box_new_uninit(const Layout {{ size: 0_usize, align: std::ptr::Alignment {{ _inner_repr_trick: std::ptr::alignment::AlignmentEnum::_Align1Shl0 }} }}) -> [return: bb2, unwind unreachable];
5455
}
5556

5657
bb1: {
@@ -103,5 +104,9 @@
103104
+ nop;
104105
drop(_3) -> [return: bb1, unwind unreachable];
105106
}
107+
+ }
108+
+
109+
+ ALLOC0 (size: 16, align: 8) {
110+
+ 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 │ ................
106111
}
107112

0 commit comments

Comments
 (0)