- // MIR for `overlapping` before GVN | |
+ // MIR for `overlapping` after GVN | |
fn overlapping(_1: Adt) -> () { | |
let mut _0: (); | |
let mut _2: *mut Adt; | |
let mut _3: u32; | |
let mut _4: &Adt; | |
bb0: { | |
_2 = &raw mut _1; | |
_4 = &(*_2); | |
_3 = copy (((*_4) as variant#1).0: u32); | |
(*_2) = Adt::Some(copy _3); | |
return; | |
} | |
} | |