1 ; This used to be invalid, but now it's valid. Ensure the verifier
3 ; RUN: llvm-as %s -o /dev/null
5 declare void @doit(ptr inalloca(i64) %a)
9 %a = alloca inalloca [2 x i32]
10 call void @doit(ptr inalloca(i64) %a)
16 %a = alloca inalloca i64
17 call void @doit(ptr inalloca(i64) %a)
18 call void @doit(ptr inalloca(i64) %a)
22 define void @c(i1 %cond) {
24 br i1 %cond, label %if, label %else
27 %a = alloca inalloca i64
31 %b = alloca inalloca i64
35 %args = phi ptr [ %a, %if ], [ %b, %else ]
36 call void @doit(ptr inalloca(i64) %args)