Dan Gohman | fce288f | 2009-09-09 00:09:15 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=pic16 |
Benjamin Kramer | 32e6518 | 2010-03-30 14:34:13 +0000 | [diff] [blame] | 2 | ; XFAIL: vg_leak |
Sanjiv Gupta | 96a0a02 | 2009-08-05 15:52:14 +0000 | [diff] [blame] | 3 | |
4 | @main.auto.c = internal global i8 0 ; <i8*> [#uses=1] | ||||
5 | |||||
6 | define i16 @main() nounwind { | ||||
7 | entry: | ||||
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 | } |