Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 8ba8b22

Browse files
committed
fix CI err
1 parent aada74b commit 8ba8b22

3 files changed

+12
-1
lines changed

src/test/mir-opt/early_otherwise_branch_68867.try_sum.EarlyOtherwiseBranch.before-SimplifyConstCondition-final.after.diff

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@
109109

110110
bb2: {
111111
StorageLive(_33); // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:25: 26:27
112+
nop; // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:25: 26:27
113+
Deinit(_0); // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:21: 26:28
112114
nop; // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:21: 26:28
113115
discriminant(_0) = 1; // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:21: 26:28
114116
StorageDead(_33); // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:27: 26:28
@@ -118,7 +120,7 @@
118120
+ nop; // scope 0 at $DIR/early_otherwise_branch_68867.rs:28:1: 28:2
119121
return; // scope 0 at $DIR/early_otherwise_branch_68867.rs:28:2: 28:2
120122
}
121-
123+
122124
bb3: {
123125
StorageLive(_36); // scope 0 at $DIR/early_otherwise_branch_68867.rs:21:14: 21:24
124126
_36 = move (_4.1: &ViewportPercentageLength); // scope 0 at $DIR/early_otherwise_branch_68867.rs:21:14: 21:24
@@ -180,6 +182,7 @@
180182
+ ((((_0 as Ok).0: ViewportPercentageLength) as Vw).0: f32) = Add(move _15, move _16); // scope 1 at $DIR/early_otherwise_branch_68867.rs:22:38: 22:49
181183
+ nop; // scope 1 at $DIR/early_otherwise_branch_68867.rs:22:48: 22:49
182184
+ nop; // scope 1 at $DIR/early_otherwise_branch_68867.rs:22:48: 22:49
185+
+ Deinit(((_0 as Ok).0: ViewportPercentageLength)); // scope 1 at $DIR/early_otherwise_branch_68867.rs:22:35: 22:50
183186
+ nop; // scope 1 at $DIR/early_otherwise_branch_68867.rs:22:35: 22:50
184187
+ discriminant(((_0 as Ok).0: ViewportPercentageLength)) = 0; // scope 1 at $DIR/early_otherwise_branch_68867.rs:22:35: 22:50
185188
+ nop; // scope 1 at $DIR/early_otherwise_branch_68867.rs:22:49: 22:50
@@ -225,6 +228,7 @@
225228
+ ((((_0 as Ok).0: ViewportPercentageLength) as Vh).0: f32) = Add(move _20, move _21); // scope 2 at $DIR/early_otherwise_branch_68867.rs:23:38: 23:49
226229
+ nop; // scope 2 at $DIR/early_otherwise_branch_68867.rs:23:48: 23:49
227230
+ nop; // scope 2 at $DIR/early_otherwise_branch_68867.rs:23:48: 23:49
231+
+ Deinit(((_0 as Ok).0: ViewportPercentageLength)); // scope 2 at $DIR/early_otherwise_branch_68867.rs:23:35: 23:50
228232
+ nop; // scope 2 at $DIR/early_otherwise_branch_68867.rs:23:35: 23:50
229233
+ discriminant(((_0 as Ok).0: ViewportPercentageLength)) = 1; // scope 2 at $DIR/early_otherwise_branch_68867.rs:23:35: 23:50
230234
+ nop; // scope 2 at $DIR/early_otherwise_branch_68867.rs:23:49: 23:50
@@ -270,6 +274,7 @@
270274
+ ((((_0 as Ok).0: ViewportPercentageLength) as Vmin).0: f32) = Add(move _25, move _26); // scope 3 at $DIR/early_otherwise_branch_68867.rs:24:44: 24:55
271275
+ nop; // scope 3 at $DIR/early_otherwise_branch_68867.rs:24:54: 24:55
272276
+ nop; // scope 3 at $DIR/early_otherwise_branch_68867.rs:24:54: 24:55
277+
+ Deinit(((_0 as Ok).0: ViewportPercentageLength)); // scope 3 at $DIR/early_otherwise_branch_68867.rs:24:39: 24:56
273278
+ nop; // scope 3 at $DIR/early_otherwise_branch_68867.rs:24:39: 24:56
274279
+ discriminant(((_0 as Ok).0: ViewportPercentageLength)) = 2; // scope 3 at $DIR/early_otherwise_branch_68867.rs:24:39: 24:56
275280
+ nop; // scope 3 at $DIR/early_otherwise_branch_68867.rs:24:55: 24:56
@@ -315,6 +320,7 @@
315320
+ ((((_0 as Ok).0: ViewportPercentageLength) as Vmax).0: f32) = Add(move _30, move _31); // scope 4 at $DIR/early_otherwise_branch_68867.rs:25:44: 25:55
316321
+ nop; // scope 4 at $DIR/early_otherwise_branch_68867.rs:25:54: 25:55
317322
+ nop; // scope 4 at $DIR/early_otherwise_branch_68867.rs:25:54: 25:55
323+
+ Deinit(((_0 as Ok).0: ViewportPercentageLength)); // scope 4 at $DIR/early_otherwise_branch_68867.rs:25:39: 25:56
318324
+ nop; // scope 4 at $DIR/early_otherwise_branch_68867.rs:25:39: 25:56
319325
+ discriminant(((_0 as Ok).0: ViewportPercentageLength)) = 3; // scope 4 at $DIR/early_otherwise_branch_68867.rs:25:39: 25:56
320326
+ nop; // scope 4 at $DIR/early_otherwise_branch_68867.rs:25:55: 25:56
@@ -324,6 +330,7 @@
324330
}
325331

326332
bb10: {
333+
Deinit(_0); // scope 0 at $DIR/early_otherwise_branch_68867.rs:21:5: 27:7
327334
- ((_0 as Ok).0: ViewportPercentageLength) = move _3; // scope 0 at $DIR/early_otherwise_branch_68867.rs:21:5: 27:7
328335
+ nop; // scope 0 at $DIR/early_otherwise_branch_68867.rs:21:5: 27:7
329336
discriminant(_0) = 0; // scope 0 at $DIR/early_otherwise_branch_68867.rs:21:5: 27:7

src/test/mir-opt/early_otherwise_branch_68867.try_sum.EarlyOtherwiseBranch.diff

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,8 @@
9595

9696
bb2: {
9797
StorageLive(_33); // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:25: 26:27
98+
nop; // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:25: 26:27
99+
Deinit(_0); // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:21: 26:28
98100
nop; // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:21: 26:28
99101
discriminant(_0) = 1; // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:21: 26:28
100102
StorageDead(_33); // scope 0 at $DIR/early_otherwise_branch_68867.rs:26:27: 26:28
@@ -240,6 +242,7 @@
240242
}
241243

242244
bb10: {
245+
Deinit(_0); // scope 0 at $DIR/early_otherwise_branch_68867.rs:21:5: 27:7
243246
((_0 as Ok).0: ViewportPercentageLength) = move _3; // scope 0 at $DIR/early_otherwise_branch_68867.rs:21:5: 27:7
244247
discriminant(_0) = 0; // scope 0 at $DIR/early_otherwise_branch_68867.rs:21:5: 27:7
245248
StorageDead(_3); // scope 0 at $DIR/early_otherwise_branch_68867.rs:27:6: 27:7

src/test/mir-opt/inline/inline_closure_captures.foo.Inline.after.mir

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ fn foo(_1: T, _2: i32) -> (i32, T) {
5454
_13 = move ((*_6).1: &T); // scope 2 at $DIR/inline-closure-captures.rs:11:22: 11:23
5555
_11 = (*_13); // scope 2 at $DIR/inline-closure-captures.rs:11:22: 11:23
5656
StorageDead(_13); // scope 2 at $DIR/inline-closure-captures.rs:11:18: 11:24
57+
Deinit(_0); // scope 2 at $DIR/inline-closure-captures.rs:11:18: 11:24
5758
(_0.0: i32) = move _10; // scope 2 at $DIR/inline-closure-captures.rs:11:18: 11:24
5859
(_0.1: T) = move _11; // scope 2 at $DIR/inline-closure-captures.rs:11:18: 11:24
5960
StorageDead(_11); // scope 2 at $DIR/inline-closure-captures.rs:11:23: 11:24

0 commit comments

Comments
 (0)