fork/rust

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

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

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