Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
mir-opt
/
const_prop
/
transmute.invalid_bool.GVN.32bit.diff
blob: 45c48e9046ec6b8e2adced7e74520cbcd2ce1c9c [
file
] [
log
] [
blame
]
-
// MIR for `invalid_bool` before GVN
+
// MIR for `invalid_bool` after GVN
fn invalid_bool
()
->
bool
{
let
mut _0
:
bool
;
bb0
:
{
-
_0
=
const
-
1
_i8
as
bool
(
Transmute
);
+
_0
=
const
{
transmute
(
0xff
):
bool
};
return
;
}
}