Sign in
swiftshader
/
SwiftShader.git
/
48d47a4912684bfa4d23d3cdaab60046bf3d0468
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
X86
/
sext-trunc.ll
blob: 5c59bc00860e369eab8d65a5f97fcea10d6b4b26 [
file
] [
log
] [
blame
]
; RUN: llc < %s -mtriple=i686-unknown-linux-gnu | FileCheck %s
define
signext
i8
@foo
(
i16
signext
%x
)
nounwind
{
%retval56
=
trunc
i16
%x
to
i8
ret
i8
%retval56
; CHECK-LABEL: foo:
; CHECK: movb
; CHECK-NEXT: retl
}