about summary refs log tree commit diff
path: root/tests/mir-opt/uninhabited_not_read.main.SimplifyLocals-final.after.mir
blob: 89f4cbc2edea577dc1d51adeb2d5caae4727101a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// MIR for `main` after SimplifyLocals-final

fn main() -> () {
    let mut _0: ();
    let _1: u8;
    let mut _2: *const !;
    let mut _3: *const u8;
    let _4: u8;
    let mut _5: *const !;
    let mut _6: *const u8;
    scope 1 {
        debug x => _1;
        scope 2 {
            debug x => _2;
            scope 3 {
            }
        }
    }
    scope 4 {
        debug x => _4;
        scope 5 {
            debug x => _5;
            scope 6 {
            }
        }
    }

    bb0: {
        StorageLive(_1);
        _1 = const 3_u8;
        StorageLive(_2);
        StorageLive(_3);
        _3 = &raw const _1;
        _2 = copy _3 as *const ! (PtrToPtr);
        StorageDead(_3);
        StorageDead(_2);
        StorageDead(_1);
        StorageLive(_4);
        _4 = const 3_u8;
        StorageLive(_5);
        StorageLive(_6);
        _6 = &raw const _4;
        _5 = copy _6 as *const ! (PtrToPtr);
        StorageDead(_6);
        StorageDead(_5);
        StorageDead(_4);
        return;
    }
}