repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert r354244 "[DAGCombiner] Eliminate dead stores to stack."
[llvm-complete.git]
/
test
/
CodeGen
/
X86
/
sext-trunc.ll
blob
5c59bc00860e369eab8d65a5f97fcea10d6b4b26
1
; RUN: llc < %s -mtriple=i686-unknown-linux-gnu | FileCheck %s
2
3
define signext i8 @foo(i16 signext %x) nounwind {
4
%retval56 = trunc i16 %x to i8
5
ret i8 %retval56
6
7
; CHECK-LABEL: foo:
8
; CHECK: movb
9
; CHECK-NEXT: retl
10
}