Skip to content

Commit 10e1a9d

Browse files
committed
bless mir-opt test
1 parent 25c8857 commit 10e1a9d

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
@@ -96,7 +96,6 @@
9696

9797
bb2: {
9898
StorageLive(_8);
99-
_28 = const false;
10099
_8 = move ((_5 as Ok).0: std::boxed::Box<dyn std::fmt::Display>);
101100
StorageLive(_9);
102101
StorageLive(_10);
@@ -186,7 +185,7 @@
186185
bb9: {
187186
StorageDead(_6);
188187
_29 = discriminant(_5);
189-
switchInt(move _29) -> [0: bb11, otherwise: bb13];
188+
switchInt(move _29) -> [0: bb10, otherwise: bb11];
190189
}
191190

192191
bb10: {
@@ -200,14 +199,6 @@
200199
}
201200

202201
bb11: {
203-
switchInt(copy _28) -> [0: bb10, otherwise: bb12];
204-
}
205-
206-
bb12: {
207-
drop(((_5 as Ok).0: std::boxed::Box<dyn std::fmt::Display>)) -> [return: bb10, unwind unreachable];
208-
}
209-
210-
bb13: {
211202
drop(_5) -> [return: bb10, unwind unreachable];
212203
}
213204
}

0 commit comments

Comments
 (0)