Skip to content

Commit 105b85f

Browse files
committed
Update mir-opt test output.
1 parent e1b3d09 commit 105b85f

7 files changed

+320
-320
lines changed

src/test/mir-opt/const_prop/control_flow_simplification.hello.ConstProp.diff

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
fn hello() -> () {
55
let mut _0: (); // return place in scope 0 at $DIR/control-flow-simplification.rs:11:14: 11:14
66
let mut _1: bool; // in scope 0 at $DIR/control-flow-simplification.rs:12:8: 12:21
7-
let mut _2: !; // in scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
7+
let mut _2: !; // in scope 0 at $SRC_DIR/std/src/panic.rs:LL:COL
88

99
bb0: {
1010
StorageLive(_1); // scope 0 at $DIR/control-flow-simplification.rs:12:8: 12:21
@@ -21,16 +21,16 @@
2121
}
2222

2323
bb2: {
24-
StorageLive(_2); // scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
25-
begin_panic::<&str>(const "explicit panic"); // scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
24+
StorageLive(_2); // scope 0 at $SRC_DIR/std/src/panic.rs:LL:COL
25+
begin_panic::<&str>(const "explicit panic"); // scope 0 at $SRC_DIR/std/src/panic.rs:LL:COL
2626
// mir::Constant
27-
// + span: $SRC_DIR/std/src/macros.rs:LL:COL
27+
// + span: $SRC_DIR/std/src/panic.rs:LL:COL
2828
// + literal: Const { ty: fn(&str) -> ! {std::rt::begin_panic::<&str>}, val: Value(Scalar(<ZST>)) }
2929
// ty::Const
3030
// + ty: &str
3131
// + val: Value(Slice { data: Allocation { bytes: [101, 120, 112, 108, 105, 99, 105, 116, 32, 112, 97, 110, 105, 99], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [16383], len: Size { raw: 14 } }, size: Size { raw: 14 }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 14 })
3232
// mir::Constant
33-
// + span: $SRC_DIR/std/src/macros.rs:LL:COL
33+
// + span: $SRC_DIR/std/src/panic.rs:LL:COL
3434
// + literal: Const { ty: &str, val: Value(Slice { data: Allocation { bytes: [101, 120, 112, 108, 105, 99, 105, 116, 32, 112, 97, 110, 105, 99], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [16383], len: Size { raw: 14 } }, size: Size { raw: 14 }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 14 }) }
3535
}
3636
}

src/test/mir-opt/issue_73223.main.PreCodegen.32bit.diff

+50-50
Large diffs are not rendered by default.

src/test/mir-opt/issue_73223.main.PreCodegen.64bit.diff

+50-50
Large diffs are not rendered by default.

src/test/mir-opt/issue_73223.main.SimplifyArmIdentity.32bit.diff

+103-103
Large diffs are not rendered by default.

src/test/mir-opt/issue_73223.main.SimplifyArmIdentity.64bit.diff

+103-103
Large diffs are not rendered by default.

src/test/mir-opt/issue_76432.test.SimplifyComparisonIntegral.diff

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
let mut _19: *const T; // in scope 0 at $DIR/issue_76432.rs:9:54: 9:68
2222
let mut _20: *const T; // in scope 0 at $DIR/issue_76432.rs:9:70: 9:84
2323
let mut _21: *const T; // in scope 0 at $DIR/issue_76432.rs:9:70: 9:84
24-
let mut _22: !; // in scope 0 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
24+
let mut _22: !; // in scope 0 at $SRC_DIR/core/src/panic.rs:LL:COL
2525
scope 1 {
2626
debug v => _2; // in scope 1 at $DIR/issue_76432.rs:7:9: 7:10
2727
let _13: &T; // in scope 1 at $DIR/issue_76432.rs:9:10: 9:16
@@ -64,10 +64,10 @@
6464
}
6565

6666
bb1: {
67-
StorageLive(_22); // scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
68-
core::panicking::panic(const "internal error: entered unreachable code"); // scope 1 at $SRC_DIR/core/src/macros/mod.rs:LL:COL
67+
StorageLive(_22); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL
68+
core::panicking::panic(const "internal error: entered unreachable code"); // scope 1 at $SRC_DIR/core/src/panic.rs:LL:COL
6969
// mir::Constant
70-
// + span: $SRC_DIR/core/src/macros/mod.rs:LL:COL
70+
// + span: $SRC_DIR/core/src/panic.rs:LL:COL
7171
// + literal: Const { ty: fn(&'static str) -> ! {core::panicking::panic}, val: Value(Scalar(<ZST>)) }
7272
// ty::Const
7373
// + ty: &str

src/test/mir-opt/no_drop_for_inactive_variant.unwrap.SimplifyCfg-elaborate-drops.after.mir

+5-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fn unwrap(_1: Option<T>) -> T {
55
let mut _0: T; // return place in scope 0 at $DIR/no-drop-for-inactive-variant.rs:7:33: 7:34
66
let mut _2: isize; // in scope 0 at $DIR/no-drop-for-inactive-variant.rs:9:9: 9:16
77
let _3: T; // in scope 0 at $DIR/no-drop-for-inactive-variant.rs:9:14: 9:15
8-
let mut _4: !; // in scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
8+
let mut _4: !; // in scope 0 at $SRC_DIR/std/src/panic.rs:LL:COL
99
let mut _5: isize; // in scope 0 at $DIR/no-drop-for-inactive-variant.rs:12:1: 12:2
1010
let mut _6: isize; // in scope 0 at $DIR/no-drop-for-inactive-variant.rs:12:1: 12:2
1111
let mut _7: isize; // in scope 0 at $DIR/no-drop-for-inactive-variant.rs:12:1: 12:2
@@ -19,16 +19,16 @@ fn unwrap(_1: Option<T>) -> T {
1919
}
2020

2121
bb1: {
22-
StorageLive(_4); // scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
23-
begin_panic::<&str>(const "explicit panic") -> bb4; // scope 0 at $SRC_DIR/std/src/macros.rs:LL:COL
22+
StorageLive(_4); // scope 0 at $SRC_DIR/std/src/panic.rs:LL:COL
23+
begin_panic::<&str>(const "explicit panic") -> bb4; // scope 0 at $SRC_DIR/std/src/panic.rs:LL:COL
2424
// mir::Constant
25-
// + span: $SRC_DIR/std/src/macros.rs:LL:COL
25+
// + span: $SRC_DIR/std/src/panic.rs:LL:COL
2626
// + literal: Const { ty: fn(&str) -> ! {std::rt::begin_panic::<&str>}, val: Value(Scalar(<ZST>)) }
2727
// ty::Const
2828
// + ty: &str
2929
// + val: Value(Slice { data: Allocation { bytes: [101, 120, 112, 108, 105, 99, 105, 116, 32, 112, 97, 110, 105, 99], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [16383], len: Size { raw: 14 } }, size: Size { raw: 14 }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 14 })
3030
// mir::Constant
31-
// + span: $SRC_DIR/std/src/macros.rs:LL:COL
31+
// + span: $SRC_DIR/std/src/panic.rs:LL:COL
3232
// + literal: Const { ty: &str, val: Value(Slice { data: Allocation { bytes: [101, 120, 112, 108, 105, 99, 105, 116, 32, 112, 97, 110, 105, 99], relocations: Relocations(SortedMap { data: [] }), init_mask: InitMask { blocks: [16383], len: Size { raw: 14 } }, size: Size { raw: 14 }, align: Align { pow2: 0 }, mutability: Not, extra: () }, start: 0, end: 14 }) }
3333
}
3434

0 commit comments

Comments
 (0)