blob: e51a54287ce642b2a7110aa5d377e53c42185aa6 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s -march=pic16
Benjamin Kramer32e65182010-03-30 14:34:13 +00002; XFAIL: vg_leak
Sanjiv Gupta96a0a022009-08-05 15:52:14 +00003
4@main.auto.c = internal global i8 0 ; <i8*> [#uses=1]
5
6define i16 @main() nounwind {
7entry:
8 %tmp = load i8* @main.auto.c ; <i8> [#uses=1]
9 %conv = sext i8 %tmp to i16 ; <i16> [#uses=1]
10 ret i16 %conv
11}