diff options
Diffstat (limited to 'test/CodeGen/Thumb/pop.ll')
-rw-r--r-- | test/CodeGen/Thumb/pop.ll | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb/pop.ll b/test/CodeGen/Thumb/pop.ll index 1e45c7f..3c539c6 100644 --- a/test/CodeGen/Thumb/pop.ll +++ b/test/CodeGen/Thumb/pop.ll @@ -7,7 +7,9 @@ define void @t(i8* %a, ...) nounwind { ; CHECK-NEXT: add sp, #12 ; CHECK-NEXT: bx r3 entry: - %a.addr = alloca i8* - store i8* %a, i8** %a.addr + %a.addr = alloca i8, i32 4 + call void @llvm.va_start(i8* %a.addr) ret void } + +declare void @llvm.va_start(i8*) nounwind |