]> git.proxmox.com Git - rustc.git/blame - src/test/mir-opt/dataflow-const-prop/repr_transparent.main.DataflowConstProp.diff
Update unsuspicious file list
[rustc.git] / src / test / mir-opt / dataflow-const-prop / repr_transparent.main.DataflowConstProp.diff
CommitLineData
487cf647
FG
1- // MIR for `main` before DataflowConstProp
2+ // MIR for `main` after DataflowConstProp
3
4 fn main() -> () {
5 let mut _0: (); // return place in scope 0 at $DIR/repr_transparent.rs:+0:11: +0:11
6 let _1: I32; // in scope 0 at $DIR/repr_transparent.rs:+1:9: +1:10
7 let mut _3: i32; // in scope 0 at $DIR/repr_transparent.rs:+2:17: +2:26
8 let mut _4: i32; // in scope 0 at $DIR/repr_transparent.rs:+2:17: +2:20
9 let mut _5: i32; // in scope 0 at $DIR/repr_transparent.rs:+2:23: +2:26
10 scope 1 {
11 debug x => _1; // in scope 1 at $DIR/repr_transparent.rs:+1:9: +1:10
12 let _2: I32; // in scope 1 at $DIR/repr_transparent.rs:+2:9: +2:10
13 scope 2 {
14 debug y => _2; // in scope 2 at $DIR/repr_transparent.rs:+2:9: +2:10
15 }
16 }
17
18 bb0: {
19 StorageLive(_1); // scope 0 at $DIR/repr_transparent.rs:+1:9: +1:10
20 Deinit(_1); // scope 0 at $DIR/repr_transparent.rs:+1:13: +1:19
21 (_1.0: i32) = const 0_i32; // scope 0 at $DIR/repr_transparent.rs:+1:13: +1:19
22 StorageLive(_2); // scope 1 at $DIR/repr_transparent.rs:+2:9: +2:10
23 StorageLive(_3); // scope 1 at $DIR/repr_transparent.rs:+2:17: +2:26
24 StorageLive(_4); // scope 1 at $DIR/repr_transparent.rs:+2:17: +2:20
25- _4 = (_1.0: i32); // scope 1 at $DIR/repr_transparent.rs:+2:17: +2:20
26+ _4 = const 0_i32; // scope 1 at $DIR/repr_transparent.rs:+2:17: +2:20
27 StorageLive(_5); // scope 1 at $DIR/repr_transparent.rs:+2:23: +2:26
28- _5 = (_1.0: i32); // scope 1 at $DIR/repr_transparent.rs:+2:23: +2:26
29- _3 = Add(move _4, move _5); // scope 1 at $DIR/repr_transparent.rs:+2:17: +2:26
30+ _5 = const 0_i32; // scope 1 at $DIR/repr_transparent.rs:+2:23: +2:26
31+ _3 = const 0_i32; // scope 1 at $DIR/repr_transparent.rs:+2:17: +2:26
32 StorageDead(_5); // scope 1 at $DIR/repr_transparent.rs:+2:25: +2:26
33 StorageDead(_4); // scope 1 at $DIR/repr_transparent.rs:+2:25: +2:26
34 Deinit(_2); // scope 1 at $DIR/repr_transparent.rs:+2:13: +2:27
35- (_2.0: i32) = move _3; // scope 1 at $DIR/repr_transparent.rs:+2:13: +2:27
36+ (_2.0: i32) = const 0_i32; // scope 1 at $DIR/repr_transparent.rs:+2:13: +2:27
37 StorageDead(_3); // scope 1 at $DIR/repr_transparent.rs:+2:26: +2:27
38 _0 = const (); // scope 0 at $DIR/repr_transparent.rs:+0:11: +3:2
39 StorageDead(_2); // scope 1 at $DIR/repr_transparent.rs:+3:1: +3:2
40 StorageDead(_1); // scope 0 at $DIR/repr_transparent.rs:+3:1: +3:2
41 return; // scope 0 at $DIR/repr_transparent.rs:+3:2: +3:2
42 }
43 }
44