summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/pre-codegen/mem_replace.manual_replace.PreCodegen.after.mir
blob: 3ca24e152a4e0b2531ccc9c5a147b86e1400c021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// MIR for `manual_replace` after PreCodegen

fn manual_replace(_1: &mut u32, _2: u32) -> u32 {
    debug r => _1;
    debug v => _2;
    let mut _0: u32;
    scope 1 {
        debug temp => _0;
    }

    bb0: {
        _0 = (*_1);
        (*_1) = _2;
        return;
    }
}