[all-commits] [llvm/llvm-project] 6e8660: [NFC][PowerPC] Fix spe.ll to work with update_llc_...

Jessica Clarke via All-commits all-commits at lists.llvm.org
Wed Jul 28 09:13:21 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e8660a7d65a30e3abcb4c588047c1328ab7d28e
      https://github.com/llvm/llvm-project/commit/6e8660a7d65a30e3abcb4c588047c1328ab7d28e
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2021-07-28 (Wed, 28 Jul 2021)

  Changed paths:
    A llvm/test/CodeGen/PowerPC/spe-hwdouble.ll
    M llvm/test/CodeGen/PowerPC/spe.ll

  Log Message:
  -----------
  [NFC][PowerPC] Fix spe.ll to work with update_llc_test_checks.py again

Using split-file does not work with update_llc_test_checks.py. It's also
mostly redundant, as the single and double tests can just use a single
llc and FileCheck invocation for each FPU type using -check-prefixes
rather than -check-prefix, and update_llc_test_checks.py will merge what
it can. Only test_dasmconst needs to be SPE-only and so is pulled out
into its own mall file (rather than using sed to preprocess the file and
keep it commented out for EFPU2, which would work, but is ugly).

As well as cutting down on the number of RUN lines, this also results in
test_fma's CHECK lines being merged for both FPUs.

Reviewed By: kiausch

Differential Revision: https://reviews.llvm.org/D106969




More information about the All-commits mailing list