2024-07-27 01:36:17 -05:00
|
|
|
- // MIR for `integer_transmutes` before InstSimplify-after-simplifycfg
|
|
|
|
+ // MIR for `integer_transmutes` after InstSimplify-after-simplifycfg
|
2023-03-25 16:32:31 -05:00
|
|
|
|
|
|
|
fn integer_transmutes() -> () {
|
2023-06-06 08:47:00 -05:00
|
|
|
let mut _0: ();
|
|
|
|
let mut _1: u32;
|
|
|
|
let mut _2: i64;
|
|
|
|
let mut _3: i64;
|
|
|
|
let mut _4: u32;
|
|
|
|
let mut _5: usize;
|
2023-03-25 16:32:31 -05:00
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
- _1 = const 1_i32 as u32 (Transmute);
|
|
|
|
+ _1 = const 1_i32 as u32 (IntToInt);
|
|
|
|
_2 = const 1_i32 as i64 (Transmute);
|
|
|
|
- _3 = const 1_u64 as i64 (Transmute);
|
|
|
|
+ _3 = const 1_u64 as i64 (IntToInt);
|
|
|
|
_4 = const 1_u64 as u32 (Transmute);
|
|
|
|
- _5 = const 1_isize as usize (Transmute);
|
|
|
|
+ _5 = const 1_isize as usize (IntToInt);
|
|
|
|
return;
|
2023-03-25 16:32:31 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|