diff options
Diffstat (limited to 'tests')
7 files changed, 24 insertions, 24 deletions
diff --git a/tests/mir-opt/gvn.cast.GVN.panic-abort.diff b/tests/mir-opt/gvn.cast.GVN.panic-abort.diff index 986052b2d41..513fe60b65d 100644 --- a/tests/mir-opt/gvn.cast.GVN.panic-abort.diff +++ b/tests/mir-opt/gvn.cast.GVN.panic-abort.diff @@ -104,11 +104,11 @@ } bb0: { - StorageLive(_1); +- StorageLive(_1); _1 = const 1_i64; - StorageLive(_2); +- StorageLive(_2); _2 = const 1_u64; - StorageLive(_3); +- StorageLive(_3); _3 = const 1f64; StorageLive(_4); StorageLive(_5); @@ -492,9 +492,9 @@ - StorageDead(_90); StorageDead(_89); _0 = const (); - StorageDead(_3); - StorageDead(_2); - StorageDead(_1); +- StorageDead(_3); +- StorageDead(_2); +- StorageDead(_1); return; } } diff --git a/tests/mir-opt/gvn.cast.GVN.panic-unwind.diff b/tests/mir-opt/gvn.cast.GVN.panic-unwind.diff index 052b9d019f2..33192ed8de0 100644 --- a/tests/mir-opt/gvn.cast.GVN.panic-unwind.diff +++ b/tests/mir-opt/gvn.cast.GVN.panic-unwind.diff @@ -104,11 +104,11 @@ } bb0: { - StorageLive(_1); +- StorageLive(_1); _1 = const 1_i64; - StorageLive(_2); +- StorageLive(_2); _2 = const 1_u64; - StorageLive(_3); +- StorageLive(_3); _3 = const 1f64; StorageLive(_4); StorageLive(_5); @@ -492,9 +492,9 @@ - StorageDead(_90); StorageDead(_89); _0 = const (); - StorageDead(_3); - StorageDead(_2); - StorageDead(_1); +- StorageDead(_3); +- StorageDead(_2); +- StorageDead(_1); return; } } diff --git a/tests/mir-opt/gvn.subexpression_elimination.GVN.panic-abort.diff b/tests/mir-opt/gvn.subexpression_elimination.GVN.panic-abort.diff index f44ab92f229..bf866e2f4d2 100644 --- a/tests/mir-opt/gvn.subexpression_elimination.GVN.panic-abort.diff +++ b/tests/mir-opt/gvn.subexpression_elimination.GVN.panic-abort.diff @@ -420,20 +420,20 @@ StorageDead(_52); StorageLive(_55); - StorageLive(_56); - StorageLive(_57); +- StorageLive(_57); - StorageLive(_58); - _58 = _1; - _57 = S::<u64>(move _58); - StorageDead(_58); -+ _57 = _53; - _56 = (_57.0: u64); +- _56 = (_57.0: u64); - _55 = opaque::<u64>(move _56) -> [return: bb16, unwind unreachable]; ++ _56 = (_53.0: u64); + _55 = opaque::<u64>(_56) -> [return: bb16, unwind unreachable]; } bb16: { - StorageDead(_56); - StorageDead(_57); +- StorageDead(_57); StorageDead(_55); StorageLive(_59); StorageLive(_60); diff --git a/tests/mir-opt/gvn.subexpression_elimination.GVN.panic-unwind.diff b/tests/mir-opt/gvn.subexpression_elimination.GVN.panic-unwind.diff index a4da75bd680..68b05290719 100644 --- a/tests/mir-opt/gvn.subexpression_elimination.GVN.panic-unwind.diff +++ b/tests/mir-opt/gvn.subexpression_elimination.GVN.panic-unwind.diff @@ -420,20 +420,20 @@ StorageDead(_52); StorageLive(_55); - StorageLive(_56); - StorageLive(_57); +- StorageLive(_57); - StorageLive(_58); - _58 = _1; - _57 = S::<u64>(move _58); - StorageDead(_58); -+ _57 = _53; - _56 = (_57.0: u64); +- _56 = (_57.0: u64); - _55 = opaque::<u64>(move _56) -> [return: bb16, unwind continue]; ++ _56 = (_53.0: u64); + _55 = opaque::<u64>(_56) -> [return: bb16, unwind continue]; } bb16: { - StorageDead(_56); - StorageDead(_57); +- StorageDead(_57); StorageDead(_55); StorageLive(_59); StorageLive(_60); diff --git a/tests/mir-opt/inline/inline_closure_captures.foo.Inline.after.mir b/tests/mir-opt/inline/inline_closure_captures.foo.Inline.after.mir index 549306071ad..721fac27d88 100644 --- a/tests/mir-opt/inline/inline_closure_captures.foo.Inline.after.mir +++ b/tests/mir-opt/inline/inline_closure_captures.foo.Inline.after.mir @@ -42,10 +42,10 @@ fn foo(_1: T, _2: i32) -> (i32, T) { StorageLive(_9); _9 = move (_7.0: i32); StorageLive(_11); - _10 = deref_copy ((*_6).0: &i32); + _10 = ((*_6).0: &i32); _11 = (*_10); StorageLive(_13); - _12 = deref_copy ((*_6).1: &T); + _12 = ((*_6).1: &T); _13 = (*_12); _0 = (move _11, move _13); StorageDead(_13); diff --git a/tests/mir-opt/inline/inline_generator.main.Inline.panic-abort.diff b/tests/mir-opt/inline/inline_generator.main.Inline.panic-abort.diff index 353df487b99..6779003b693 100644 --- a/tests/mir-opt/inline/inline_generator.main.Inline.panic-abort.diff +++ b/tests/mir-opt/inline/inline_generator.main.Inline.panic-abort.diff @@ -40,7 +40,7 @@ + StorageDead(_3); + StorageLive(_5); + _5 = const false; -+ _6 = deref_copy (_2.0: &mut {generator@$DIR/inline_generator.rs:16:5: 16:8}); ++ _6 = (_2.0: &mut {generator@$DIR/inline_generator.rs:16:5: 16:8}); + _7 = discriminant((*_6)); + switchInt(move _7) -> [0: bb3, 1: bb7, 3: bb8, otherwise: bb9]; } diff --git a/tests/mir-opt/inline/inline_generator.main.Inline.panic-unwind.diff b/tests/mir-opt/inline/inline_generator.main.Inline.panic-unwind.diff index 56f70837b8f..31744be99ec 100644 --- a/tests/mir-opt/inline/inline_generator.main.Inline.panic-unwind.diff +++ b/tests/mir-opt/inline/inline_generator.main.Inline.panic-unwind.diff @@ -48,7 +48,7 @@ - _1 = <{generator@$DIR/inline_generator.rs:16:5: 16:8} as Generator<bool>>::resume(move _2, const false) -> [return: bb3, unwind: bb5]; + StorageLive(_5); + _5 = const false; -+ _6 = deref_copy (_2.0: &mut {generator@$DIR/inline_generator.rs:16:5: 16:8}); ++ _6 = (_2.0: &mut {generator@$DIR/inline_generator.rs:16:5: 16:8}); + _7 = discriminant((*_6)); + switchInt(move _7) -> [0: bb5, 1: bb9, 3: bb10, otherwise: bb11]; } |
