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() -> () {
8282 _1[_7] = move _5; // bb2[0] : scope 3 at $DIR/array-index-is-temporary.rs:16:5: 16:29
8383 StorageDead(_5); // bb2[1] : scope 3 at $DIR/array-index-is-temporary.rs:16:28: 16:29
8484 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>)) }
8692 StorageDead(_3); // bb2[4] : scope 2 at $DIR/array-index-is-temporary.rs:17:1: 17:2
8793 StorageDead(_2); // bb2[5] : scope 1 at $DIR/array-index-is-temporary.rs:17:1: 17:2
8894 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() -> () {
1818 _1 = (*_2); // bb0[3] : scope 0 at $DIR/const_allocation.rs:8:5: 8:8
1919 StorageDead(_2); // bb0[4] : scope 0 at $DIR/const_allocation.rs:8:8: 8:9
2020 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>)) }
2228 return; // bb0[7] : scope 0 at $DIR/const_allocation.rs:9:2: 9:2
2329 }
2430}
Original file line number Diff line number Diff line change @@ -18,7 +18,13 @@ fn main() -> () {
1818 _1 = (*_2); // bb0[3] : scope 0 at $DIR/const_allocation2.rs:5:5: 5:8
1919 StorageDead(_2); // bb0[4] : scope 0 at $DIR/const_allocation2.rs:5:8: 5:9
2020 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>)) }
2228 return; // bb0[7] : scope 0 at $DIR/const_allocation2.rs:6:2: 6:2
2329 }
2430}
Original file line number Diff line number Diff line change @@ -18,7 +18,13 @@ fn main() -> () {
1818 _1 = (*_2); // bb0[3] : scope 0 at $DIR/const_allocation3.rs:5:5: 5:8
1919 StorageDead(_2); // bb0[4] : scope 0 at $DIR/const_allocation3.rs:5:8: 5:9
2020 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>)) }
2228 return; // bb0[7] : scope 0 at $DIR/const_allocation3.rs:6:2: 6:2
2329 }
2430}
Original file line number Diff line number Diff line change 8484+ // + literal: Const { ty: u32, val: Value(Scalar(0x00000002)) }
8585 StorageDead(_3); // bb1[1]: scope 0 at $DIR/array_index.rs:5:33: 5:34
8686 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>)) }
8894 StorageDead(_1); // bb1[4]: scope 0 at $DIR/array_index.rs:6:1: 6:2
8995 return; // bb1[5]: scope 0 at $DIR/array_index.rs:6:2: 6:2
9096 }
Original file line number Diff line number Diff line change 8787 // + literal: Const { ty: i32, val: Value(Scalar(0x00000000)) }
8888 StorageDead(_2); // bb4[1]: scope 0 at $DIR/discriminant.rs:6:67: 6:68
8989 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>)) }
9197 StorageDead(_1); // bb4[4]: scope 0 at $DIR/discriminant.rs:7:1: 7:2
9298 return; // bb4[5]: scope 0 at $DIR/discriminant.rs:7:2: 7:2
9399 }
Original file line number Diff line number Diff line change 171171+ // + span: $DIR/optimizes_into_variable.rs:14:13: 14:38
172172+ // + literal: Const { ty: u32, val: Value(Scalar(0x0000002a)) }
173173 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>)) }
175181 StorageDead(_8); // bb2[9]: scope 2 at $DIR/optimizes_into_variable.rs:15:1: 15:2
176182 StorageDead(_3); // bb2[10]: scope 1 at $DIR/optimizes_into_variable.rs:15:1: 15:2
177183 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() -> () {
8080 // mir::Constant
8181 // + span : $DIR/optimizes_into_variable.rs:14:13: 14:38
8282 // + 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
8794 }
8895}
Original file line number Diff line number Diff line change 8080 StorageDead(_2); // bb1[2]: scope 0 at $DIR/repeat.rs:6:31: 6:32
8181 StorageDead(_4); // bb1[3]: scope 0 at $DIR/repeat.rs:6:32: 6:33
8282 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>)) }
8490 StorageDead(_1); // bb1[6]: scope 0 at $DIR/repeat.rs:7:1: 7:2
8591 return; // bb1[7]: scope 0 at $DIR/repeat.rs:7:2: 7:2
8692 }
Original file line number Diff line number Diff line change 7676 StorageDead(_4); // bb1[2]: scope 0 at $DIR/slice_len.rs:5:33: 5:34
7777 StorageDead(_2); // bb1[3]: scope 0 at $DIR/slice_len.rs:5:33: 5:34
7878 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>)) }
8086 return; // bb1[6]: scope 0 at $DIR/slice_len.rs:6:2: 6:2
8187 }
8288 }
You can’t perform that action at this time.
0 commit comments