blob: e58152ee80f7d93259ba72b0df8ea18f11dd9b19 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; This shouldn't crash
2; RUN: llvm-upgrade < %s | llvm-as | 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}