1 ; RUN: llc < %s -march=x86 2 ; PR2977 3 define i8* @ap_php_conv_p2(){ 4 entry: 5 %ap.addr = alloca i8* ; <i8**> [#uses=36] 6 br label %sw.bb301 7 sw.bb301: 8 %0 = va_arg i8** %ap.addr, i64 ; <i64> [#uses=1] 9 br label %sw.bb301 10 } 11