summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/lower_intrinsics.ptr_offset.LowerIntrinsics.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/lower_intrinsics.ptr_offset.LowerIntrinsics.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/lower_intrinsics.ptr_offset.LowerIntrinsics.diff')
-rw-r--r--tests/mir-opt/lower_intrinsics.ptr_offset.LowerIntrinsics.diff30
1 files changed, 0 insertions, 30 deletions
diff --git a/tests/mir-opt/lower_intrinsics.ptr_offset.LowerIntrinsics.diff b/tests/mir-opt/lower_intrinsics.ptr_offset.LowerIntrinsics.diff
deleted file mode 100644
index 60a1dd0ba..000000000
--- a/tests/mir-opt/lower_intrinsics.ptr_offset.LowerIntrinsics.diff
+++ /dev/null
@@ -1,30 +0,0 @@
-- // MIR for `ptr_offset` before LowerIntrinsics
-+ // MIR for `ptr_offset` after LowerIntrinsics
-
- fn ptr_offset(_1: *const i32, _2: isize) -> *const i32 {
- debug p => _1; // in scope 0 at $DIR/lower_intrinsics.rs:+0:26: +0:27
- debug d => _2; // in scope 0 at $DIR/lower_intrinsics.rs:+0:41: +0:42
- let mut _0: *const i32; // return place in scope 0 at $DIR/lower_intrinsics.rs:+0:54: +0:64
- let mut _3: *const i32; // in scope 0 at $DIR/lower_intrinsics.rs:+1:30: +1:31
- let mut _4: isize; // in scope 0 at $DIR/lower_intrinsics.rs:+1:33: +1:34
-
- bb0: {
- StorageLive(_3); // scope 0 at $DIR/lower_intrinsics.rs:+1:30: +1:31
- _3 = _1; // scope 0 at $DIR/lower_intrinsics.rs:+1:30: +1:31
- StorageLive(_4); // scope 0 at $DIR/lower_intrinsics.rs:+1:33: +1:34
- _4 = _2; // scope 0 at $DIR/lower_intrinsics.rs:+1:33: +1:34
-- _0 = offset::<*const i32, isize>(move _3, move _4) -> [return: bb1, unwind unreachable]; // scope 0 at $DIR/lower_intrinsics.rs:+1:5: +1:35
-- // mir::Constant
-- // + span: $DIR/lower_intrinsics.rs:144:5: 144:29
-- // + literal: Const { ty: unsafe extern "rust-intrinsic" fn(*const i32, isize) -> *const i32 {offset::<*const i32, isize>}, val: Value(<ZST>) }
-+ _0 = Offset(move _3, move _4); // scope 0 at $DIR/lower_intrinsics.rs:+1:5: +1:35
-+ goto -> bb1; // scope 0 at $DIR/lower_intrinsics.rs:+1:5: +1:35
- }
-
- bb1: {
- StorageDead(_4); // scope 0 at $DIR/lower_intrinsics.rs:+1:34: +1:35
- StorageDead(_3); // scope 0 at $DIR/lower_intrinsics.rs:+1:34: +1:35
- return; // scope 0 at $DIR/lower_intrinsics.rs:+2:2: +2:2
- }
- }
-