Skip to content

Commit 0f8f77f

Browse files
committed
Rebase fallout.
1 parent 3a55c28 commit 0f8f77f

2 files changed

+2
-10
lines changed

tests/mir-opt/pre-codegen/issue_117368_print_invalid_constant.main.GVN.32bit.panic-abort.diff

+1-5
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
StorageLive(_12);
8686
StorageLive(_15);
8787
_12 = discriminant(_6);
88-
switchInt(move _12) -> [0: bb7, 1: bb5, otherwise: bb6];
88+
switchInt(move _12) -> [0: bb6, 1: bb5, otherwise: bb2];
8989
}
9090

9191
bb5: {
@@ -99,10 +99,6 @@
9999
}
100100

101101
bb6: {
102-
unreachable;
103-
}
104-
105-
bb7: {
106102
_5 = move ((_6 as Ok).0: std::ptr::NonNull<[u8]>);
107103
StorageDead(_15);
108104
StorageDead(_12);

tests/mir-opt/pre-codegen/issue_117368_print_invalid_constant.main.GVN.64bit.panic-abort.diff

+1-5
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
StorageLive(_12);
8686
StorageLive(_15);
8787
_12 = discriminant(_6);
88-
switchInt(move _12) -> [0: bb7, 1: bb5, otherwise: bb6];
88+
switchInt(move _12) -> [0: bb6, 1: bb5, otherwise: bb2];
8989
}
9090

9191
bb5: {
@@ -99,10 +99,6 @@
9999
}
100100

101101
bb6: {
102-
unreachable;
103-
}
104-
105-
bb7: {
106102
_5 = move ((_6 as Ok).0: std::ptr::NonNull<[u8]>);
107103
StorageDead(_15);
108104
StorageDead(_12);

0 commit comments

Comments
 (0)