From dcef6a7400d51526a04a18e274bd579da262e9ad Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Mon, 12 Aug 2013 12:43:26 +0000 Subject: Fix FileCheck --check-prefix lines. Various tests had sprung up over the years which had --check-prefix=ABC on the RUN line, but "CHECK-ABC:" later on. This happened to work before, but was strictly incorrect. FileCheck is getting stricter soon though. Patch by Ron Ofir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188173 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Assembler/attribute-builtin.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/Assembler') diff --git a/test/Assembler/attribute-builtin.ll b/test/Assembler/attribute-builtin.ll index a7799f0aa2..f31596ce69 100644 --- a/test/Assembler/attribute-builtin.ll +++ b/test/Assembler/attribute-builtin.ll @@ -8,7 +8,7 @@ ; RUN: llvm-dis | \ ; RUN: llvm-as -disable-verify | \ ; RUN: llvm-dis | \ -; RUN: FileCheck -check-prefix=ASSEMBLES %s +; RUN: FileCheck -check-prefix=CHECK-ASSEMBLES %s ; CHECK-ASSEMBLES: declare i8* @foo(i8*) [[NOBUILTIN:#[0-9]+]] ; CHECK-ASSEMBLES: call i8* @foo(i8* %x) [[BUILTIN:#[0-9]+]] @@ -26,7 +26,7 @@ define i8* @bar(i8* %x) { ; which do not have nobuiltin on them. ; rdar://13727199 -; RUN: not llvm-as <%s 2>&1 | FileCheck -check-prefix=BAD %s +; RUN: not llvm-as <%s 2>&1 | FileCheck -check-prefix=CHECK-BAD %s ; CHECK-BAD: Attribute 'builtin' can only be used in a call to a function with the 'nobuiltin' attribute. ; CHECK-BAD-NEXT: %y = call i8* @lar(i8* %x) #1 -- cgit v1.2.3