aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll')
-rw-r--r--test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll b/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll
index c8eac8d..59c2367 100644
--- a/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll
+++ b/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll
@@ -13,6 +13,7 @@ entry:
; CHECK-NOT: mov sp, r7
; CHECK: add sp, #8
call void @__gcov_flush() nounwind
+ call void @llvm.va_start(i8* null)
br i1 undef, label %bb5, label %bb
bb: ; preds = %bb, %entry
@@ -27,3 +28,5 @@ bb5: ; preds = %bb, %entry
declare hidden void @__gcov_flush()
declare i32 @execvp(i8*, i8**) nounwind
+
+declare void @llvm.va_start(i8*) nounwind