summaryrefslogtreecommitdiffstats
path: root/test/Assembler
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-08-12 12:43:26 +0000
committerTim Northover <tnorthover@apple.com>2013-08-12 12:43:26 +0000
commitdcef6a7400d51526a04a18e274bd579da262e9ad (patch)
tree878fd1edc4e37032db94525bb0ecf4f04e2ab6f2 /test/Assembler
parent655abf57edcc9954428ac405905005f82091add5 (diff)
downloadexternal_llvm-dcef6a7400d51526a04a18e274bd579da262e9ad.zip
external_llvm-dcef6a7400d51526a04a18e274bd579da262e9ad.tar.gz
external_llvm-dcef6a7400d51526a04a18e274bd579da262e9ad.tar.bz2
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
Diffstat (limited to 'test/Assembler')
-rw-r--r--test/Assembler/attribute-builtin.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Assembler/attribute-builtin.ll b/test/Assembler/attribute-builtin.ll
index a7799f0..f31596c 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