blob: d282066d0a3d7c0a2e464a6fe8a15964a882b7f0 [file] [log] [blame]
Andrew Lenharthc20dee32006-01-26 17:43:42 +00001; This shouldn't crash
2; RUN: llvm-as < %s | llc -march=alpha
3
4; ModuleID = 'simp.bc'
5target endian = little
6target pointersize = 64
7target triple = "alphaev6-unknown-linux-gnu"
8deplibs = [ "c", "crtend", "stdc++" ]
9 %struct.__va_list_tag = type { sbyte*, int }
10
11implementation ; Functions:
12
13uint %emit_library_call_value(int %nargs, ...) {
14entry:
15 %tmp.223 = va_arg %struct.__va_list_tag* null, uint ; <uint> [#uses=0]
16 ret uint %tmp.223
17}