OSDN Git Service

Remove this va_arg test, which is no longer applicable.
authorDan Gohman <gohman@apple.com>
Fri, 28 May 2010 16:44:04 +0000 (16:44 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 28 May 2010 16:44:04 +0000 (16:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104956 91177308-0d34-0410-b5e6-96231b3b80d8

test/Other/lint.ll

index 1187eb7..4cf9fd7 100644 (file)
@@ -88,13 +88,10 @@ block:
 }
 
 ; 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
 }