Remove this va_arg test, which is no longer applicable.

llvm-svn: 104956
This commit is contained in:
Dan Gohman 2010-05-28 16:44:04 +00:00
parent 99ca8b71cd
commit 672393f6c7
1 changed files with 0 additions and 3 deletions

View File

@ -87,14 +87,11 @@ block:
unreachable
}
; CHECK: Undefined behavior: Call with "tail" keyword references alloca
; CHECK: Undefined behavior: Call with "tail" keyword references alloca
declare void @tailcallee(i8*)
define void @use_tail(i8* %valist) {
%t = alloca i8
tail call void @tailcallee(i8* %t)
%s = va_arg i8* %valist, i8*
tail call void @tailcallee(i8* %s)
ret void
}