mirror of
https://git.proxmox.com/git/rustc
synced 2026-03-29 00:04:34 +00:00
16 lines
301 B
Diff
16 lines
301 B
Diff
- // MIR for `invalid_bool` before GVN
|
|
+ // MIR for `invalid_bool` after GVN
|
|
|
|
fn invalid_bool() -> bool {
|
|
let mut _0: bool;
|
|
scope 1 {
|
|
}
|
|
|
|
bb0: {
|
|
- _0 = const -1_i8 as bool (Transmute);
|
|
+ _0 = const {transmute(0xff): bool};
|
|
return;
|
|
}
|
|
}
|
|
|