[PATCH] [FileCheck] Change clang tests to explicitly use CHECK- prefix instead of assuming it

Ron Ofir ron.ofir at gmail.com
Sat Aug 10 00:55:35 PDT 2013


Hi ruiu, t.p.northover,

Some LLVM tests implicitly assumed that "CHECK-" was being added to the check-prefix that is passed to FileCheck, which worked up until now because of a bug in FileCheck. This patch makes changes the tests to use "CHECK-" explicitly. As per Tim's suggestion, this patch changes the FileCheck invocation lines, and not the prefixes in the tests themselves in order to minimize the number of changes made.

This patch is a preparation for D1271, but should work without it.

http://llvm-reviews.chandlerc.com/D1354

Files:
  test/Assembler/attribute-builtin.ll
  test/CodeGen/ARM/2013-02-27-expand-vfma.ll
  test/CodeGen/ARM/a15-SD-dep.ll
  test/CodeGen/ARM/fast-isel-static.ll
  test/CodeGen/ARM/neon-spfp.ll
  test/CodeGen/PowerPC/Frames-alloca.ll
  test/CodeGen/PowerPC/i64_fp_round.ll
  test/CodeGen/X86/palignr.ll
  test/MC/PowerPC/ppc64-fixup-explicit.s
  test/MC/PowerPC/ppc64-fixups.s
  test/Transforms/FunctionAttrs/annotate-1.ll
  test/Transforms/Inline/delete-call.ll
  test/Transforms/InstCombine/ffs-1.ll
  test/Transforms/InstCombine/fprintf-1.ll
  test/Transforms/InstCombine/printf-1.ll
  test/Transforms/InstCombine/sprintf-1.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1354.1.patch
Type: text/x-patch
Size: 15876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130810/e1c26a7d/attachment.bin>


More information about the llvm-commits mailing list