repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
CodeGen
/
X86
/
pr38038.ll
blob
eaacfedd651c39bd333c92768c6ddb7639ccad90
1
; RUN: llc < %s -mtriple=x86_64-unknown-unknown
2
; PR38038
3
4
define i8 @crash(half) {
5
entry:
6
%1 = bitcast half %0 to i16
7
%.lobit = lshr i16 %1, 15
8
%2 = trunc i16 %.lobit to i8
9
ret i8 %2
10
}