[all-commits] [llvm/llvm-project] b6d77e: [tools][tests] - Use --check-prefixes instead of m...

Georgii Rymar via All-commits all-commits at lists.llvm.org
Fri Apr 17 02:36:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b6d77e792c3339425a733756b970dbac0da119fb
      https://github.com/llvm/llvm-project/commit/b6d77e792c3339425a733756b970dbac0da119fb
  Author: Georgii Rymar <grimar at accesssoftek.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M llvm/test/tools/dsymutil/X86/accelerator.test
    M llvm/test/tools/dsymutil/X86/basic-linking-x86.test
    M llvm/test/tools/dsymutil/X86/dsym-companion.test
    M llvm/test/tools/dsymutil/X86/multiple-inputs.test
    M llvm/test/tools/dsymutil/X86/odr-uniquing.cpp
    M llvm/test/tools/dsymutil/X86/verify.test
    M llvm/test/tools/dsymutil/arch-option.test
    M llvm/test/tools/dsymutil/basic-linking.test
    M llvm/test/tools/dsymutil/dump-symtab.test
    M llvm/test/tools/llvm-dwarfdump/X86/debug_loclists.s
    M llvm/test/tools/llvm-mca/X86/bextr-read-after-ld.s
    M llvm/test/tools/llvm-mca/X86/bzhi-read-after-ld.s
    M llvm/test/tools/llvm-mca/X86/cpus.s
    M llvm/test/tools/llvm-mca/X86/default-iterations.s
    M llvm/test/tools/llvm-mca/X86/dispatch_width.s
    M llvm/test/tools/llvm-mca/X86/fma3-read-after-ld-1.s
    M llvm/test/tools/llvm-mca/X86/fma3-read-after-ld-2.s
    M llvm/test/tools/llvm-mca/X86/option-all-stats-1.s
    M llvm/test/tools/llvm-mca/X86/option-all-stats-2.s
    M llvm/test/tools/llvm-mca/X86/option-all-views-1.s
    M llvm/test/tools/llvm-mca/X86/option-all-views-2.s
    M llvm/test/tools/llvm-mca/X86/read-after-ld-1.s
    M llvm/test/tools/llvm-mca/X86/read-after-ld-2.s
    M llvm/test/tools/llvm-mca/X86/read-after-ld-3.s
    M llvm/test/tools/llvm-mca/X86/sqrt-rsqrt-rcp-memop.s
    M llvm/test/tools/llvm-mca/X86/variable-blend-read-after-ld-1.s
    M llvm/test/tools/llvm-mca/X86/variable-blend-read-after-ld-2.s
    M llvm/test/tools/llvm-objcopy/ELF/prefix-symbols.test
    M llvm/test/tools/llvm-profdata/c-general.test
    M llvm/test/tools/llvm-profdata/cutoff.test
    M llvm/test/tools/llvm-profdata/hash-mismatch.proftext
    M llvm/test/tools/llvm-profdata/multiple-inputs.test
    M llvm/test/tools/llvm-profdata/overlap.test
    M llvm/test/tools/llvm-profdata/value-prof.proftext
    M llvm/test/tools/llvm-profdata/weight-instr.test
    M llvm/test/tools/llvm-readobj/COFF/exports.test
    M llvm/test/tools/llvm-symbolizer/split-dwarf.test

  Log Message:
  -----------
  [tools][tests] - Use --check-prefixes instead of multiple --check-prefix. NFCI.

There is no need to use `--check-prefix` multiple times.
It helps to improve readability/test maintainability.
This patch does it for all tools at once.

Differential revision: https://reviews.llvm.org/D78217




More information about the All-commits mailing list