1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/CodeGen/X86/pr38038.ll
2018-07-20 03:50:55 +00:00

11 lines
195 B
LLVM

; 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
}