rust/tests/mir-opt/const_prop/transmute.valid_char.GVN.64bit.diff
2023-12-24 20:08:57 +00:00

16 lines
276 B
Diff

- // MIR for `valid_char` before GVN
+ // MIR for `valid_char` after GVN
fn valid_char() -> char {
let mut _0: char;
scope 1 {
}
bb0: {
- _0 = const 82_u32 as char (Transmute);
+ _0 = const 'R';
return;
}
}