1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 23:12:55 +01:00
llvm-mirror/test/CodeGen/X86/2008-10-29-ExpandVAARG.ll
Duncan Sands fd032c5bef Fix PR2977: LegalizeTypes support for expanding
VAARG.

llvm-svn: 58379
2008-10-29 14:25:28 +00:00

11 lines
275 B
LLVM

; RUN: llvm-as < %s | llc -march=x86
; PR2977
define i8* @ap_php_conv_p2(){
entry:
%ap.addr = alloca i8* ; <i8**> [#uses=36]
br label %sw.bb301
sw.bb301:
%0 = va_arg i8** %ap.addr, i64 ; <i64> [#uses=1]
br label %sw.bb301
}