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

Commit 7c3673f

Browse files
committed
Bless mir-opt for excluded alloc bytes
1 parent 1a05cb2 commit 7c3673f

File tree

52 files changed

+182
-382
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+182
-382
lines changed

tests/mir-opt/const_debuginfo.main.SingleUseConsts.diff

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,7 @@
119119
}
120120
}
121121

122-
ALLOC0 (size: 8, align: 4) {
123-
20 00 00 00 20 00 00 00 │ ... ...
124-
}
122+
ALLOC0 (size: 8, align: 4) { .. }
125123

126-
ALLOC1 (size: 4, align: 2) {
127-
01 00 63 00 │ ..c.
128-
}
124+
ALLOC1 (size: 4, align: 2) { .. }
129125

tests/mir-opt/const_prop/address_of_pair.fn0.GVN.diff

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
StorageDead(_2);
4545
return;
4646
}
47-
+ }
48-
+
49-
+ ALLOC0 (size: 8, align: 4) {
50-
+ 01 00 00 00 00 __ __ __ │ .....░░░
5147
}
48+
+
49+
+ ALLOC0 (size: 8, align: 4) { .. }
5250

tests/mir-opt/const_prop/checked_add.main.GVN.panic-abort.diff

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
StorageDead(_1);
2525
return;
2626
}
27-
+ }
28-
+
29-
+ ALLOC0 (size: 8, align: 4) {
30-
+ 02 00 00 00 00 __ __ __ │ .....░░░
3127
}
28+
+
29+
+ ALLOC0 (size: 8, align: 4) { .. }
3230

tests/mir-opt/const_prop/checked_add.main.GVN.panic-unwind.diff

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
StorageDead(_1);
2525
return;
2626
}
27-
+ }
28-
+
29-
+ ALLOC0 (size: 8, align: 4) {
30-
+ 02 00 00 00 00 __ __ __ │ .....░░░
3127
}
28+
+
29+
+ ALLOC0 (size: 8, align: 4) { .. }
3230

tests/mir-opt/const_prop/mutable_variable_aggregate.main.GVN.diff

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@
2424
StorageDead(_1);
2525
return;
2626
}
27-
+ }
28-
+
29-
+ ALLOC0 (size: 8, align: 4) {
30-
+ 2a 00 00 00 2b 00 00 00 │ *...+...
3127
}
28+
+
29+
+ ALLOC0 (size: 8, align: 4) { .. }
3230

tests/mir-opt/const_prop/mutable_variable_aggregate_mut_ref.main.GVN.diff

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
StorageDead(_1);
3232
return;
3333
}
34-
+ }
35-
+
36-
+ ALLOC0 (size: 8, align: 4) {
37-
+ 2a 00 00 00 2b 00 00 00 │ *...+...
3834
}
35+
+
36+
+ ALLOC0 (size: 8, align: 4) { .. }
3937

tests/mir-opt/const_prop/mutable_variable_unprop_assign.main.GVN.panic-abort.diff

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@
4848
+ nop;
4949
return;
5050
}
51-
+ }
52-
+
53-
+ ALLOC0 (size: 8, align: 4) {
54-
+ 01 00 00 00 02 00 00 00 │ ........
5551
}
52+
+
53+
+ ALLOC0 (size: 8, align: 4) { .. }
5654

tests/mir-opt/const_prop/mutable_variable_unprop_assign.main.GVN.panic-unwind.diff

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,7 @@
4848
+ nop;
4949
return;
5050
}
51-
+ }
52-
+
53-
+ ALLOC0 (size: 8, align: 4) {
54-
+ 01 00 00 00 02 00 00 00 │ ........
5551
}
52+
+
53+
+ ALLOC0 (size: 8, align: 4) { .. }
5654

tests/mir-opt/const_prop/return_place.add.GVN.panic-abort.diff

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
+ _0 = const 4_u32;
1818
return;
1919
}
20-
+ }
21-
+
22-
+ ALLOC0 (size: 8, align: 4) {
23-
+ 04 00 00 00 00 __ __ __ │ .....░░░
2420
}
21+
+
22+
+ ALLOC0 (size: 8, align: 4) { .. }
2523

tests/mir-opt/const_prop/return_place.add.GVN.panic-unwind.diff

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717
+ _0 = const 4_u32;
1818
return;
1919
}
20-
+ }
21-
+
22-
+ ALLOC0 (size: 8, align: 4) {
23-
+ 04 00 00 00 00 __ __ __ │ .....░░░
2420
}
21+
+
22+
+ ALLOC0 (size: 8, align: 4) { .. }
2523

0 commit comments

Comments
 (0)