repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git]
/
llvm
/
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
}