llvm.org GIT mirror llvm / release_90 test / CodeGen / X86 / pr38038.ll
release_90

Tree @release_90 (Download .tar.gz)

pr38038.ll @release_90raw · history · 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
}