Sign in
swiftshader
/
SwiftShader
/
2f3d8f52d0fb51c9ab2558456bda9ad8e1205dfd
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
X86
/
pr38038.ll
blob: eaacfedd651c39bd333c92768c6ddb7639ccad90 [
file
] [
log
] [
blame
]
; RUN: llc < %s -mtriple=x86_64-unknown-unknown
; PR38038
define
i8
@crash
(
half
)
{
entry
:
%1
=
bitcast
half
%0
to
i16
%.lobit
=
lshr
i16
%1
,
15
%2
=
trunc
i16
%.lobit
to
i8
ret
i8
%2
}