[all-commits] [llvm/llvm-project] b3e63e: [NFC][PowerPC] Fix the check-cpu.ll test case.

stefanp-ibm via All-commits all-commits at lists.llvm.org
Wed Feb 23 12:09:48 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3e63ee2e5bde11f4ee3f1b372622d3ab0222c8f
      https://github.com/llvm/llvm-project/commit/b3e63ee2e5bde11f4ee3f1b372622d3ab0222c8f
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2022-02-23 (Wed, 23 Feb 2022)

  Changed paths:
    M llvm/test/CodeGen/PowerPC/check-cpu.ll

  Log Message:
  -----------
  [NFC][PowerPC] Fix the check-cpu.ll test case.

This test doesn't work because the CHECK-NOT line is actually checking
something that only exists on stderr and not stdout.
Changed the test so that we now check both stderr and stdout.
Changed the test so that we check pwr9, pwr10, and future. The cpu names of
power9 or power10 are not supported in the llc backend.

Reviewed By: nemanjai, #powerpc

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




More information about the All-commits mailing list