Skip to content

Commit 8d837ad

Browse files
committed
bless mir-opt test
1 parent 5837955 commit 8d837ad

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

tests/mir-opt/sroa/lifetimes.foo.ScalarReplacementOfAggregates.diff

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383

8484
bb2: {
8585
StorageLive(_8);
86-
_25 = const false;
8786
_8 = move ((_5 as Ok).0: std::boxed::Box<dyn std::fmt::Display>);
8887
StorageLive(_9);
8988
StorageLive(_10);
@@ -157,7 +156,7 @@
157156
bb9: {
158157
StorageDead(_6);
159158
_26 = discriminant(_5);
160-
switchInt(move _26) -> [0: bb11, otherwise: bb13];
159+
switchInt(move _26) -> [0: bb10, otherwise: bb11];
161160
}
162161

163162
bb10: {
@@ -171,14 +170,6 @@
171170
}
172171

173172
bb11: {
174-
switchInt(copy _25) -> [0: bb10, otherwise: bb12];
175-
}
176-
177-
bb12: {
178-
drop(((_5 as Ok).0: std::boxed::Box<dyn std::fmt::Display>)) -> [return: bb10, unwind unreachable];
179-
}
180-
181-
bb13: {
182173
drop(_5) -> [return: bb10, unwind unreachable];
183174
}
184175
}

0 commit comments

Comments
 (0)