rust/tests/mir-opt/const_prop/transmute.from_char.GVN.64bit.diff
Matthew Jasper a277c901d9 Remove MIR unsafe check
This also remove safety information from MIR.
2024-04-03 08:50:12 +00:00

14 lines
246 B
Diff

- // MIR for `from_char` before GVN
+ // MIR for `from_char` after GVN
fn from_char() -> i32 {
let mut _0: i32;
bb0: {
- _0 = const 'R' as i32 (Transmute);
+ _0 = const 82_i32;
return;
}
}