Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
mir-opt
/
const_prop
/
transmute.invalid_bool.GVN.64bit.diff
blob: f0c6f55f775f61f05a10a7e88b9fb76394e2ff26 [
file
] [
log
] [
blame
]
-
// 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
;
}
}