aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/vastart-defs-eflags.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/vastart-defs-eflags.ll')
-rw-r--r--test/CodeGen/X86/vastart-defs-eflags.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/X86/vastart-defs-eflags.ll b/test/CodeGen/X86/vastart-defs-eflags.ll
index 6017753..d0c5150 100644
--- a/test/CodeGen/X86/vastart-defs-eflags.ll
+++ b/test/CodeGen/X86/vastart-defs-eflags.ll
@@ -14,6 +14,7 @@ entry:
br i1 %tobool, label %if.end, label %if.then
if.then: ; preds = %entry
+ call void @llvm.va_start(i8* null)
br label %if.end
if.end: ; preds = %entry, %if.then
@@ -21,3 +22,4 @@ if.end: ; preds = %entry, %if.then
ret i32 %hasflag
}
+declare void @llvm.va_start(i8*) nounwind