[all-commits] [llvm/llvm-project] 2e47aa: [PowerPC] Fix float materialization patterns.

stefanp-ibm via All-commits all-commits at lists.llvm.org
Mon Feb 13 07:19:06 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e47aafb02f3e46fc3e01799053e01835239151d
      https://github.com/llvm/llvm-project/commit/2e47aafb02f3e46fc3e01799053e01835239151d
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrVSX.td
    A llvm/test/CodeGen/PowerPC/ppc-float-spill.ll

  Log Message:
  -----------
  [PowerPC] Fix float materialization patterns.

Two of the float materialization patterns use the VSSRC regsiter class. This
register class is not available before Power 8. The patterns will stay the same
for Power 8 and up but must use the class F4RC for Power 7 and earlier.

This patch fixes those patterns.

Reviewed By: nemanjai, amyk, #powerpc

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




More information about the All-commits mailing list