]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/retag.{impl#0}-foo.SimplifyCfg-elaborate-drops.after.mir
Auto merge of #96978 - lqd:win_pgo2, r=Mark-Simulacrum
[rust.git] / src / test / mir-opt / retag.{impl#0}-foo.SimplifyCfg-elaborate-drops.after.mir
1 // MIR for `<impl at $DIR/retag.rs:11:1: 11:10>::foo` after SimplifyCfg-elaborate-drops
2
3 fn <impl at $DIR/retag.rs:11:1: 11:10>::foo(_1: &Test, _2: &mut i32) -> &mut i32 {
4     debug self => _1;                    // in scope 0 at $DIR/retag.rs:13:16: 13:21
5     debug x => _2;                       // in scope 0 at $DIR/retag.rs:13:23: 13:24
6     let mut _0: &mut i32;                // return place in scope 0 at $DIR/retag.rs:13:42: 13:53
7     let mut _3: &mut i32;                // in scope 0 at $DIR/retag.rs:14:9: 14:10
8
9     bb0: {
10         Retag([fn entry] _1);            // scope 0 at $DIR/retag.rs:13:5: 15:6
11         Retag([fn entry] _2);            // scope 0 at $DIR/retag.rs:13:5: 15:6
12         StorageLive(_3);                 // scope 0 at $DIR/retag.rs:14:9: 14:10
13         _3 = &mut (*_2);                 // scope 0 at $DIR/retag.rs:14:9: 14:10
14         Retag(_3);                       // scope 0 at $DIR/retag.rs:14:9: 14:10
15         _0 = &mut (*_3);                 // scope 0 at $DIR/retag.rs:14:9: 14:10
16         Retag(_0);                       // scope 0 at $DIR/retag.rs:14:9: 14:10
17         StorageDead(_3);                 // scope 0 at $DIR/retag.rs:15:5: 15:6
18         return;                          // scope 0 at $DIR/retag.rs:15:6: 15:6
19     }
20 }