make tblgen produce a function that returns the name for a physreg.
[llvm/avr.git] / test / CodeGen / Alpha / 2006-01-26-VaargBreak.ll
blob45587f08fd6cfabf4f96952ce61eb82c34fcca4a
1 ; This shouldn't crash
2 ; RUN: llc < %s -march=alpha 
4 target datalayout = "e-p:64:64"
5 target triple = "alphaev6-unknown-linux-gnu"
6 deplibs = [ "c", "crtend", "stdc++" ]
7         %struct.__va_list_tag = type { i8*, i32 }
9 define i32 @emit_library_call_value(i32 %nargs, ...) {
10 entry:
11         %tmp.223 = va_arg %struct.__va_list_tag* null, i32              ; <i32> [#uses=1]
12         ret i32 %tmp.223