Skip to content

Commit 1dde908

Browse files
committed
Update test results
1 parent 8bed0b5 commit 1dde908

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/test/mir-opt/dataflow-const-prop/cast.main.DataflowConstProp.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
StorageLive(_5); // scope 1 at $DIR/cast.rs:+2:14: +2:16
2525
_5 = &_1; // scope 1 at $DIR/cast.rs:+2:14: +2:16
2626
- _4 = (*_5); // scope 1 at $DIR/cast.rs:+2:13: +2:16
27-
- _3 = move _4 as u8 (Misc); // scope 1 at $DIR/cast.rs:+2:13: +2:22
27+
- _3 = move _4 as u8 (IntToInt); // scope 1 at $DIR/cast.rs:+2:13: +2:22
2828
+ _4 = const 257_i32; // scope 1 at $DIR/cast.rs:+2:13: +2:16
2929
+ _3 = const 1_u8; // scope 1 at $DIR/cast.rs:+2:13: +2:22
3030
StorageDead(_4); // scope 1 at $DIR/cast.rs:+2:21: +2:22

src/test/mir-opt/dataflow-const-prop/previous/cast.main.DataflowConstProp.diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
bb0: {
1616
StorageLive(_1); // scope 0 at $DIR/cast.rs:+1:9: +1:10
17-
- _1 = const 42_u8 as u32 (Misc); // scope 0 at $DIR/cast.rs:+1:13: +1:24
17+
- _1 = const 42_u8 as u32 (IntToInt); // scope 0 at $DIR/cast.rs:+1:13: +1:24
1818
+ _1 = const 42_u32; // scope 0 at $DIR/cast.rs:+1:13: +1:24
1919
StorageLive(_2); // scope 1 at $DIR/cast.rs:+3:9: +3:10
20-
- _2 = const 42_u32 as u8 (Misc); // scope 1 at $DIR/cast.rs:+3:13: +3:24
20+
- _2 = const 42_u32 as u8 (IntToInt); // scope 1 at $DIR/cast.rs:+3:13: +3:24
2121
+ _2 = const 42_u8; // scope 1 at $DIR/cast.rs:+3:13: +3:24
2222
_0 = const (); // scope 0 at $DIR/cast.rs:+0:11: +4:2
2323
StorageDead(_2); // scope 1 at $DIR/cast.rs:+4:1: +4:2

src/test/mir-opt/dataflow-const-prop/previous/indirect.main.DataflowConstProp.diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
bb0: {
1414
StorageLive(_1); // scope 0 at $DIR/indirect.rs:+1:9: +1:10
1515
StorageLive(_2); // scope 0 at $DIR/indirect.rs:+1:13: +1:25
16-
- _2 = const 2_u32 as u8 (Misc); // scope 0 at $DIR/indirect.rs:+1:13: +1:25
16+
- _2 = const 2_u32 as u8 (IntToInt); // scope 0 at $DIR/indirect.rs:+1:13: +1:25
1717
- _3 = CheckedAdd(_2, const 1_u8); // scope 0 at $DIR/indirect.rs:+1:13: +1:29
1818
- assert(!move (_3.1: bool), "attempt to compute `{} + {}`, which would overflow", move _2, const 1_u8) -> bb1; // scope 0 at $DIR/indirect.rs:+1:13: +1:29
1919
+ _2 = const 2_u8; // scope 0 at $DIR/indirect.rs:+1:13: +1:25

0 commit comments

Comments
 (0)