summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/enum_opt.trunc.EnumSizeOpt.64bit.diff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:31 +0000
commitdc0db358abe19481e475e10c32149b53370f1a1c (patch)
treeab8ce99c4b255ce46f99ef402c27916055b899ee /tests/mir-opt/enum_opt.trunc.EnumSizeOpt.64bit.diff
parentReleasing progress-linux version 1.71.1+dfsg1-2~progress7.99u1. (diff)
downloadrustc-dc0db358abe19481e475e10c32149b53370f1a1c.tar.xz
rustc-dc0db358abe19481e475e10c32149b53370f1a1c.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/mir-opt/enum_opt.trunc.EnumSizeOpt.64bit.diff')
-rw-r--r--tests/mir-opt/enum_opt.trunc.EnumSizeOpt.64bit.diff52
1 files changed, 26 insertions, 26 deletions
diff --git a/tests/mir-opt/enum_opt.trunc.EnumSizeOpt.64bit.diff b/tests/mir-opt/enum_opt.trunc.EnumSizeOpt.64bit.diff
index 1ef79044d..100a73e56 100644
--- a/tests/mir-opt/enum_opt.trunc.EnumSizeOpt.64bit.diff
+++ b/tests/mir-opt/enum_opt.trunc.EnumSizeOpt.64bit.diff
@@ -2,36 +2,36 @@
+ // MIR for `trunc` after EnumSizeOpt
fn trunc() -> NotTrunctable {
- let mut _0: NotTrunctable; // return place in scope 0 at $DIR/enum_opt.rs:+0:19: +0:32
- let mut _1: NotTrunctable; // in scope 0 at $DIR/enum_opt.rs:+1:7: +1:12
- let mut _2: NotTrunctable; // in scope 0 at $DIR/enum_opt.rs:+2:7: +2:34
- let mut _3: [u8; 1024]; // in scope 0 at $DIR/enum_opt.rs:+2:24: +2:33
- let mut _4: NotTrunctable; // in scope 0 at $DIR/enum_opt.rs:+3:7: +3:34
- let mut _5: [u8; 4096]; // in scope 0 at $DIR/enum_opt.rs:+3:24: +3:33
+ let mut _0: NotTrunctable;
+ let mut _1: NotTrunctable;
+ let mut _2: NotTrunctable;
+ let mut _3: [u8; 1024];
+ let mut _4: NotTrunctable;
+ let mut _5: [u8; 4096];
scope 1 {
- debug a => _1; // in scope 1 at $DIR/enum_opt.rs:+1:7: +1:12
+ debug a => _1;
}
bb0: {
- StorageLive(_1); // scope 0 at $DIR/enum_opt.rs:+1:7: +1:12
- _1 = NotTrunctable::A; // scope 0 at $DIR/enum_opt.rs:+1:15: +1:31
- StorageLive(_2); // scope 1 at $DIR/enum_opt.rs:+2:7: +2:34
- StorageLive(_3); // scope 1 at $DIR/enum_opt.rs:+2:24: +2:33
- _3 = [const 0_u8; 1024]; // scope 1 at $DIR/enum_opt.rs:+2:24: +2:33
- _2 = NotTrunctable::B(move _3); // scope 1 at $DIR/enum_opt.rs:+2:7: +2:34
- StorageDead(_3); // scope 1 at $DIR/enum_opt.rs:+2:33: +2:34
- _1 = move _2; // scope 1 at $DIR/enum_opt.rs:+2:3: +2:34
- StorageDead(_2); // scope 1 at $DIR/enum_opt.rs:+2:33: +2:34
- StorageLive(_4); // scope 1 at $DIR/enum_opt.rs:+3:7: +3:34
- StorageLive(_5); // scope 1 at $DIR/enum_opt.rs:+3:24: +3:33
- _5 = [const 0_u8; 4096]; // scope 1 at $DIR/enum_opt.rs:+3:24: +3:33
- _4 = NotTrunctable::C(move _5); // scope 1 at $DIR/enum_opt.rs:+3:7: +3:34
- StorageDead(_5); // scope 1 at $DIR/enum_opt.rs:+3:33: +3:34
- _1 = move _4; // scope 1 at $DIR/enum_opt.rs:+3:3: +3:34
- StorageDead(_4); // scope 1 at $DIR/enum_opt.rs:+3:33: +3:34
- _0 = move _1; // scope 1 at $DIR/enum_opt.rs:+4:3: +4:4
- StorageDead(_1); // scope 0 at $DIR/enum_opt.rs:+5:1: +5:2
- return; // scope 0 at $DIR/enum_opt.rs:+5:2: +5:2
+ StorageLive(_1);
+ _1 = NotTrunctable::A;
+ StorageLive(_2);
+ StorageLive(_3);
+ _3 = [const 0_u8; 1024];
+ _2 = NotTrunctable::B(move _3);
+ StorageDead(_3);
+ _1 = move _2;
+ StorageDead(_2);
+ StorageLive(_4);
+ StorageLive(_5);
+ _5 = [const 0_u8; 4096];
+ _4 = NotTrunctable::C(move _5);
+ StorageDead(_5);
+ _1 = move _4;
+ StorageDead(_4);
+ _0 = move _1;
+ StorageDead(_1);
+ return;
}
}