Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
e71842bebb922af77f158cf2bb577575b51a4219
/
.
/
test
/
CodeGen
/
PIC16
/
sext.ll
blob: b26b62beb6998e96aaffd2f5235a57943c67dcbf [
file
] [
log
] [
blame
]
; RUN: llvm-as < %s | llc -march=pic16
@main.auto.c
=
internal
global
i8
0
; <i8*> [#uses=1]
define
i16
@main
()
nounwind
{
entry
:
%tmp
=
load
i8
*
@main.auto.c
; <i8> [#uses=1]
%conv
=
sext
i8
%tmp
to
i16
; <i16> [#uses=1]
ret
i16
%conv
}