summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/gvn.references.GVN.panic-abort.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:42 +0000
commitcec1877e180393eba0f6ddb0cf97bf3a791631c7 (patch)
tree47b4dac2a9dd9a40c30c251b4d4a72d7ccf77e9f /tests/mir-opt/gvn.references.GVN.panic-abort.diff
parentAdding debian version 1.74.1+dfsg1-1. (diff)
downloadrustc-cec1877e180393eba0f6ddb0cf97bf3a791631c7.tar.xz
rustc-cec1877e180393eba0f6ddb0cf97bf3a791631c7.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/mir-opt/gvn.references.GVN.panic-abort.diff')
-rw-r--r--tests/mir-opt/gvn.references.GVN.panic-abort.diff79
1 files changed, 77 insertions, 2 deletions
diff --git a/tests/mir-opt/gvn.references.GVN.panic-abort.diff b/tests/mir-opt/gvn.references.GVN.panic-abort.diff
index b7ad4ab1f..7799c6114 100644
--- a/tests/mir-opt/gvn.references.GVN.panic-abort.diff
+++ b/tests/mir-opt/gvn.references.GVN.panic-abort.diff
@@ -20,6 +20,24 @@
let mut _15: *mut impl Sized;
let _16: ();
let mut _17: *mut impl Sized;
+ let _18: &mut impl Sized;
+ let mut _20: S<&mut impl Sized>;
+ let mut _21: &mut impl Sized;
+ let _22: ();
+ let mut _23: &impl Sized;
+ let _24: ();
+ let mut _25: &mut impl Sized;
+ let _26: ();
+ let mut _27: *const impl Sized;
+ let _28: ();
+ let mut _29: *mut impl Sized;
+ scope 1 {
+ debug r => _18;
+ let _19: &mut impl Sized;
+ scope 2 {
+ debug s => _19;
+ }
+ }
bb0: {
StorageLive(_2);
@@ -94,11 +112,68 @@
bb8: {
StorageDead(_17);
StorageDead(_16);
- _0 = const ();
- drop(_1) -> [return: bb9, unwind unreachable];
+- StorageLive(_18);
++ nop;
+ _18 = &mut _1;
+ StorageLive(_19);
+ StorageLive(_20);
+ StorageLive(_21);
+- _21 = move _18;
+- _20 = S::<&mut impl Sized>(move _21);
++ _21 = _18;
++ _20 = S::<&mut impl Sized>(_18);
+ StorageDead(_21);
+- _19 = move (_20.0: &mut impl Sized);
++ _19 = _18;
+ StorageDead(_20);
+ StorageLive(_22);
+ StorageLive(_23);
+- _23 = &(*_19);
++ _23 = &(*_18);
+ _22 = opaque::<&impl Sized>(move _23) -> [return: bb9, unwind unreachable];
}
bb9: {
+ StorageDead(_23);
+ StorageDead(_22);
+ StorageLive(_24);
+ StorageLive(_25);
+- _25 = &mut (*_19);
++ _25 = &mut (*_18);
+ _24 = opaque::<&mut impl Sized>(move _25) -> [return: bb10, unwind unreachable];
+ }
+
+ bb10: {
+ StorageDead(_25);
+ StorageDead(_24);
+ StorageLive(_26);
+ StorageLive(_27);
+- _27 = &raw const (*_19);
++ _27 = &raw const (*_18);
+ _26 = opaque::<*const impl Sized>(move _27) -> [return: bb11, unwind unreachable];
+ }
+
+ bb11: {
+ StorageDead(_27);
+ StorageDead(_26);
+ StorageLive(_28);
+ StorageLive(_29);
+- _29 = &raw mut (*_19);
++ _29 = &raw mut (*_18);
+ _28 = opaque::<*mut impl Sized>(move _29) -> [return: bb12, unwind unreachable];
+ }
+
+ bb12: {
+ StorageDead(_29);
+ StorageDead(_28);
+ _0 = const ();
+ StorageDead(_19);
+- StorageDead(_18);
++ nop;
+ drop(_1) -> [return: bb13, unwind unreachable];
+ }
+
+ bb13: {
return;
}
}