File tree Expand file tree Collapse file tree 13 files changed +119
-31
lines changed
array-index-is-temporary/32bit
optimizes_into_variable/32bit
inline/inline-into-box-place/32bit
nll/region-subtyping-basic/32bit
packed-struct-drop-aligned/32bit Expand file tree Collapse file tree 13 files changed +119
-31
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,13 @@ fn main() -> () {
82
82
_1[_7] = move _5; // bb2[0] : scope 3 at $DIR/array-index-is-temporary.rs:16:5: 16:29
83
83
StorageDead(_5); // bb2[1] : scope 3 at $DIR/array-index-is-temporary.rs:16:28: 16:29
84
84
StorageDead(_7); // bb2[2] : scope 3 at $DIR/array-index-is-temporary.rs:16:29: 16:30
85
- _0 = (); // bb2[3] : scope 0 at $DIR/array-index-is-temporary.rs:12:11: 17:2
85
+ _0 = const (); // bb2[3] : scope 0 at $DIR/array-index-is-temporary.rs:12:11: 17:2
86
+ // ty::Const
87
+ // + ty : ()
88
+ // + val : Value(Scalar(<ZST>))
89
+ // mir::Constant
90
+ // + span : $DIR/array-index-is-temporary.rs:12:11: 17:2
91
+ // + literal : Const { ty: (), val: Value(Scalar(<ZST>)) }
86
92
StorageDead(_3); // bb2[4] : scope 2 at $DIR/array-index-is-temporary.rs:17:1: 17:2
87
93
StorageDead(_2); // bb2[5] : scope 1 at $DIR/array-index-is-temporary.rs:17:1: 17:2
88
94
StorageDead(_1); // bb2[6] : scope 0 at $DIR/array-index-is-temporary.rs:17:1: 17:2
Original file line number Diff line number Diff line change @@ -18,7 +18,13 @@ fn main() -> () {
18
18
_1 = (*_2); // bb0[3] : scope 0 at $DIR/const_allocation.rs:8:5: 8:8
19
19
StorageDead(_2); // bb0[4] : scope 0 at $DIR/const_allocation.rs:8:8: 8:9
20
20
StorageDead(_1); // bb0[5] : scope 0 at $DIR/const_allocation.rs:8:8: 8:9
21
- _0 = (); // bb0[6] : scope 0 at $DIR/const_allocation.rs:7:11: 9:2
21
+ _0 = const (); // bb0[6] : scope 0 at $DIR/const_allocation.rs:7:11: 9:2
22
+ // ty::Const
23
+ // + ty : ()
24
+ // + val : Value(Scalar(<ZST>))
25
+ // mir::Constant
26
+ // + span : $DIR/const_allocation.rs:7:11: 9:2
27
+ // + literal : Const { ty: (), val: Value(Scalar(<ZST>)) }
22
28
return; // bb0[7] : scope 0 at $DIR/const_allocation.rs:9:2: 9:2
23
29
}
24
30
}
Original file line number Diff line number Diff line change @@ -18,7 +18,13 @@ fn main() -> () {
18
18
_1 = (*_2); // bb0[3] : scope 0 at $DIR/const_allocation2.rs:5:5: 5:8
19
19
StorageDead(_2); // bb0[4] : scope 0 at $DIR/const_allocation2.rs:5:8: 5:9
20
20
StorageDead(_1); // bb0[5] : scope 0 at $DIR/const_allocation2.rs:5:8: 5:9
21
- _0 = (); // bb0[6] : scope 0 at $DIR/const_allocation2.rs:4:11: 6:2
21
+ _0 = const (); // bb0[6] : scope 0 at $DIR/const_allocation2.rs:4:11: 6:2
22
+ // ty::Const
23
+ // + ty : ()
24
+ // + val : Value(Scalar(<ZST>))
25
+ // mir::Constant
26
+ // + span : $DIR/const_allocation2.rs:4:11: 6:2
27
+ // + literal : Const { ty: (), val: Value(Scalar(<ZST>)) }
22
28
return; // bb0[7] : scope 0 at $DIR/const_allocation2.rs:6:2: 6:2
23
29
}
24
30
}
Original file line number Diff line number Diff line change @@ -18,7 +18,13 @@ fn main() -> () {
18
18
_1 = (*_2); // bb0[3] : scope 0 at $DIR/const_allocation3.rs:5:5: 5:8
19
19
StorageDead(_2); // bb0[4] : scope 0 at $DIR/const_allocation3.rs:5:8: 5:9
20
20
StorageDead(_1); // bb0[5] : scope 0 at $DIR/const_allocation3.rs:5:8: 5:9
21
- _0 = (); // bb0[6] : scope 0 at $DIR/const_allocation3.rs:4:11: 6:2
21
+ _0 = const (); // bb0[6] : scope 0 at $DIR/const_allocation3.rs:4:11: 6:2
22
+ // ty::Const
23
+ // + ty : ()
24
+ // + val : Value(Scalar(<ZST>))
25
+ // mir::Constant
26
+ // + span : $DIR/const_allocation3.rs:4:11: 6:2
27
+ // + literal : Const { ty: (), val: Value(Scalar(<ZST>)) }
22
28
return; // bb0[7] : scope 0 at $DIR/const_allocation3.rs:6:2: 6:2
23
29
}
24
30
}
Original file line number Diff line number Diff line change 84
84
+ // + literal: Const { ty: u32, val: Value(Scalar(0x00000002)) }
85
85
StorageDead(_3); // bb1[1]: scope 0 at $DIR/array_index.rs:5:33: 5:34
86
86
StorageDead(_2); // bb1[2]: scope 0 at $DIR/array_index.rs:5:33: 5:34
87
- _0 = (); // bb1[3]: scope 0 at $DIR/array_index.rs:4:11: 6:2
87
+ _0 = const (); // bb1[3]: scope 0 at $DIR/array_index.rs:4:11: 6:2
88
+ // ty::Const
89
+ // + ty: ()
90
+ // + val: Value(Scalar(<ZST>))
91
+ // mir::Constant
92
+ // + span: $DIR/array_index.rs:4:11: 6:2
93
+ // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
88
94
StorageDead(_1); // bb1[4]: scope 0 at $DIR/array_index.rs:6:1: 6:2
89
95
return; // bb1[5]: scope 0 at $DIR/array_index.rs:6:2: 6:2
90
96
}
Original file line number Diff line number Diff line change 87
87
// + literal: Const { ty: i32, val: Value(Scalar(0x00000000)) }
88
88
StorageDead(_2); // bb4[1]: scope 0 at $DIR/discriminant.rs:6:67: 6:68
89
89
StorageDead(_3); // bb4[2]: scope 0 at $DIR/discriminant.rs:6:68: 6:69
90
- _0 = (); // bb4[3]: scope 0 at $DIR/discriminant.rs:5:11: 7:2
90
+ _0 = const (); // bb4[3]: scope 0 at $DIR/discriminant.rs:5:11: 7:2
91
+ // ty::Const
92
+ // + ty: ()
93
+ // + val: Value(Scalar(<ZST>))
94
+ // mir::Constant
95
+ // + span: $DIR/discriminant.rs:5:11: 7:2
96
+ // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
91
97
StorageDead(_1); // bb4[4]: scope 0 at $DIR/discriminant.rs:7:1: 7:2
92
98
return; // bb4[5]: scope 0 at $DIR/discriminant.rs:7:2: 7:2
93
99
}
Original file line number Diff line number Diff line change 171
171
+ // + span: $DIR/optimizes_into_variable.rs:14:13: 14:38
172
172
+ // + literal: Const { ty: u32, val: Value(Scalar(0x0000002a)) }
173
173
StorageDead(_9); // bb2[7]: scope 2 at $DIR/optimizes_into_variable.rs:14:38: 14:39
174
- _0 = (); // bb2[8]: scope 0 at $DIR/optimizes_into_variable.rs:11:11: 15:2
174
+ _0 = const (); // bb2[8]: scope 0 at $DIR/optimizes_into_variable.rs:11:11: 15:2
175
+ // ty::Const
176
+ // + ty: ()
177
+ // + val: Value(Scalar(<ZST>))
178
+ // mir::Constant
179
+ // + span: $DIR/optimizes_into_variable.rs:11:11: 15:2
180
+ // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
175
181
StorageDead(_8); // bb2[9]: scope 2 at $DIR/optimizes_into_variable.rs:15:1: 15:2
176
182
StorageDead(_3); // bb2[10]: scope 1 at $DIR/optimizes_into_variable.rs:15:1: 15:2
177
183
StorageDead(_1); // bb2[11]: scope 0 at $DIR/optimizes_into_variable.rs:15:1: 15:2
Original file line number Diff line number Diff line change @@ -80,9 +80,16 @@ fn main() -> () {
80
80
// mir::Constant
81
81
// + span : $DIR/optimizes_into_variable.rs:14:13: 14:38
82
82
// + literal : Const { ty: u32, val: Value(Scalar(0x0000002a)) }
83
- StorageDead(_4); // bb0[9] : scope 2 at $DIR/optimizes_into_variable.rs:15:1: 15:2
84
- StorageDead(_2); // bb0[10] : scope 1 at $DIR/optimizes_into_variable.rs:15:1: 15:2
85
- StorageDead(_1); // bb0[11] : scope 0 at $DIR/optimizes_into_variable.rs:15:1: 15:2
86
- return; // bb0[12] : scope 0 at $DIR/optimizes_into_variable.rs:15:2: 15:2
83
+ _0 = const (); // bb0[9] : scope 0 at $DIR/optimizes_into_variable.rs:11:11: 15:2
84
+ // ty::Const
85
+ // + ty : ()
86
+ // + val : Value(Scalar(<ZST>))
87
+ // mir::Constant
88
+ // + span : $DIR/optimizes_into_variable.rs:11:11: 15:2
89
+ // + literal : Const { ty: (), val: Value(Scalar(<ZST>)) }
90
+ StorageDead(_4); // bb0[10] : scope 2 at $DIR/optimizes_into_variable.rs:15:1: 15:2
91
+ StorageDead(_2); // bb0[11] : scope 1 at $DIR/optimizes_into_variable.rs:15:1: 15:2
92
+ StorageDead(_1); // bb0[12] : scope 0 at $DIR/optimizes_into_variable.rs:15:1: 15:2
93
+ return; // bb0[13] : scope 0 at $DIR/optimizes_into_variable.rs:15:2: 15:2
87
94
}
88
95
}
Original file line number Diff line number Diff line change 80
80
StorageDead(_2); // bb1[2]: scope 0 at $DIR/repeat.rs:6:31: 6:32
81
81
StorageDead(_4); // bb1[3]: scope 0 at $DIR/repeat.rs:6:32: 6:33
82
82
StorageDead(_3); // bb1[4]: scope 0 at $DIR/repeat.rs:6:32: 6:33
83
- _0 = (); // bb1[5]: scope 0 at $DIR/repeat.rs:5:11: 7:2
83
+ _0 = const (); // bb1[5]: scope 0 at $DIR/repeat.rs:5:11: 7:2
84
+ // ty::Const
85
+ // + ty: ()
86
+ // + val: Value(Scalar(<ZST>))
87
+ // mir::Constant
88
+ // + span: $DIR/repeat.rs:5:11: 7:2
89
+ // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
84
90
StorageDead(_1); // bb1[6]: scope 0 at $DIR/repeat.rs:7:1: 7:2
85
91
return; // bb1[7]: scope 0 at $DIR/repeat.rs:7:2: 7:2
86
92
}
Original file line number Diff line number Diff line change 76
76
StorageDead(_4); // bb1[2]: scope 0 at $DIR/slice_len.rs:5:33: 5:34
77
77
StorageDead(_2); // bb1[3]: scope 0 at $DIR/slice_len.rs:5:33: 5:34
78
78
StorageDead(_1); // bb1[4]: scope 0 at $DIR/slice_len.rs:5:33: 5:34
79
- _0 = (); // bb1[5]: scope 0 at $DIR/slice_len.rs:4:11: 6:2
79
+ _0 = const (); // bb1[5]: scope 0 at $DIR/slice_len.rs:4:11: 6:2
80
+ // ty::Const
81
+ // + ty: ()
82
+ // + val: Value(Scalar(<ZST>))
83
+ // mir::Constant
84
+ // + span: $DIR/slice_len.rs:4:11: 6:2
85
+ // + literal: Const { ty: (), val: Value(Scalar(<ZST>)) }
80
86
return; // bb1[6]: scope 0 at $DIR/slice_len.rs:6:2: 6:2
81
87
}
82
88
}
You can’t perform that action at this time.
0 commit comments