; RUN: llc < %s
; 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
}

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

Add x86_64-unkown triple to llc for x86 test.
Add x86_64-unkown triple to llc for x86 test.



git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@337523 91177308-0d34-0410-b5e6-96231b3b80d8
