[all-commits] [llvm/llvm-project] 754520: [PowerPC] Fix issue where hint was providing the i...

stefanp-ibm via All-commits all-commits at lists.llvm.org
Thu Jul 29 19:11:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 754520a2bf55a0873753efb1d863a5ffd116c48b
      https://github.com/llvm/llvm-project/commit/754520a2bf55a0873753efb1d863a5ffd116c48b
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2021-07-29 (Thu, 29 Jul 2021)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
    A llvm/test/CodeGen/PowerPC/ppc64-acc-regalloc-bugfix.ll

  Log Message:
  -----------
  [PowerPC] Fix issue where hint was providing the incorrect regsiter class.

Regsier hints when copying to a UACC register do not always produce VSRp
registers. This patch makes sure that we do not produce hints in cases
where the subregsiter of the UACC is not a VSRp.

Reviewed By: nemanjai, #powerpc

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




More information about the All-commits mailing list