summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2008-10-29-ExpandVAARG.ll
blob: 7ad94f149e1fd2230d789b208df05b912a4ae633 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llc < %s -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
}