repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git]
/
test
/
CodeGen
/
X86
/
sext-trunc.ll
blob
2eaf42577c701adc6f9d150bfdcda6f7b8bae555
1
; RUN: llc < %s -march=x86 > %t
2
; RUN: grep movsbl %t
3
; RUN: not grep movz %t
4
; RUN: not grep and %t
5
6
define i8 @foo(i16 signext %x) signext nounwind {
7
%retval56 = trunc i16 %x to i8
8
ret i8 %retval56
9
}