fork/rust

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

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

master
635 B29 linesraw
1- // MIR for `bar` before DestinationPropagation
2+ // MIR for `bar` after DestinationPropagation
3  
4  fn bar(_1: u8) -> () {
5      debug x => _1;
6      let mut _0: ();
7      let _2: u8;
8      let mut _3: u8;
9  
10      bb0: {
11          StorageLive(_2);
12-         StorageLive(_3);
13-         _3 = _1;
14-         _2 = dummy(move _3) -> [return: bb1, unwind continue];
15+         nop;
16+         nop;
17+         _2 = dummy(move _1) -> [return: bb1, unwind continue];
18      }
19  
20      bb1: {
21-         StorageDead(_3);
22+         nop;
23          StorageDead(_2);
24          _1 = const 5_u8;
25          _0 = const ();
26          return;
27      }
28  }
29