aboutsummaryrefslogtreecommitdiff
path: root/test/Other/lint.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Other/lint.ll')
-rw-r--r--test/Other/lint.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Other/lint.ll b/test/Other/lint.ll
index eb6a656f7d..1187eb7b29 100644
--- a/test/Other/lint.ll
+++ b/test/Other/lint.ll
@@ -87,8 +87,8 @@ block:
unreachable
}
-; CHECK: Undefined behavior: Call with "tail" keyword references alloca or va_arg
-; CHECK: Undefined behavior: Call with "tail" keyword references alloca or va_arg
+; 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
@@ -98,14 +98,14 @@ define void @use_tail(i8* %valist) {
ret void
}
-; CHECK: Unusual: Returning alloca or va_arg value
+; CHECK: Unusual: Returning alloca value
define i8* @return_local(i32 %n, i32 %m) {
%t = alloca i8, i32 %n
%s = getelementptr i8* %t, i32 %m
ret i8* %s
}
-; CHECK: Unusual: Returning alloca or va_arg value
+; CHECK: Unusual: Returning alloca value
define i32* @return_obscured_local() {
entry:
%retval = alloca i32*