• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; This shouldn't crash
2; RUN: llc < %s -march=alpha
3
4target datalayout = "e-p:64:64"
5target triple = "alphaev6-unknown-linux-gnu"
6deplibs = [ "c", "crtend", "stdc++" ]
7        %struct.__va_list_tag = type { i8*, i32 }
8
9define i32 @emit_library_call_value(i32 %nargs, ...) {
10entry:
11        %tmp.223 = va_arg %struct.__va_list_tag* null, i32              ; <i32> [#uses=1]
12        ret i32 %tmp.223
13}
14
15