mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-20 09:30:43 +00:00
21c2972f7d
VAARG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58379 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
275 B
LLVM
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
|
|
}
|