summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/dest-prop/union.main.DestinationPropagation.panic-abort.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
commitef24de24a82fe681581cc130f342363c47c0969a (patch)
tree0d494f7e1a38b95c92426f58fe6eaa877303a86c /tests/mir-opt/dest-prop/union.main.DestinationPropagation.panic-abort.diff
parentReleasing progress-linux version 1.74.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-ef24de24a82fe681581cc130f342363c47c0969a.tar.xz
rustc-ef24de24a82fe681581cc130f342363c47c0969a.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/mir-opt/dest-prop/union.main.DestinationPropagation.panic-abort.diff')
-rw-r--r--tests/mir-opt/dest-prop/union.main.DestinationPropagation.panic-abort.diff17
1 files changed, 5 insertions, 12 deletions
diff --git a/tests/mir-opt/dest-prop/union.main.DestinationPropagation.panic-abort.diff b/tests/mir-opt/dest-prop/union.main.DestinationPropagation.panic-abort.diff
index 459a9c442..142e08f4d 100644
--- a/tests/mir-opt/dest-prop/union.main.DestinationPropagation.panic-abort.diff
+++ b/tests/mir-opt/dest-prop/union.main.DestinationPropagation.panic-abort.diff
@@ -4,27 +4,20 @@
fn main() -> () {
let mut _0: ();
let _1: main::Un;
- let mut _2: u32;
- let mut _3: u32;
scope 1 {
debug un => _1;
scope 2 {
}
- scope 3 (inlined std::mem::drop::<u32>) {
- debug _x => _3;
+ scope 4 (inlined std::mem::drop::<u32>) {
+ debug _x => const 1_u32;
}
}
+ scope 3 (inlined val) {
+ }
bb0: {
StorageLive(_1);
- StorageLive(_2);
- _2 = val() -> [return: bb1, unwind unreachable];
- }
-
- bb1: {
- StorageDead(_2);
- StorageLive(_3);
- StorageDead(_3);
+ _1 = Un { us: const 1_u32 };
StorageDead(_1);
return;
}