fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
592 B25 linesraw
1- // MIR for `redundant` before InstSimplify
2+ // MIR for `redundant` after InstSimplify
3  
4  fn redundant(_1: *const &u8) -> *const &u8 {
5      debug x => _1;
6      let mut _0: *const &u8;
7      let mut _2: *const &u8;
8      let mut _3: *const &u8;
9      scope 1 (inlined generic_cast::<&u8, &u8>) {
10          debug x => _1;
11      }
12  
13      bb0: {
14          StorageLive(_2);
15          StorageLive(_3);
16          _3 = _1;
17-         _2 = _3 as *const &u8 (PtrToPtr);
18+         _2 = _3;
19          StorageDead(_3);
20          _0 = _2;
21          StorageDead(_2);
22          return;
23      }
24  }
25