[PATCH] D136728: [PowerPC] Add handling for WACC register spilling.

Stefan Pintilie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 18:32:32 PDT 2022


stefanp created this revision.
stefanp added reviewers: lei, nemanjai, amyk.
Herald added subscribers: shchenz, kbarton, hiraditya, qcolombet.
Herald added a project: All.
stefanp requested review of this revision.
Herald added a project: LLVM.

This patch adds spilling for the new WACC registers.

In order to get the spilling test to work the MMA instructions from Power 10 are
now supported for Future CPU except that they are all using the new WACC
registers instead of the ACC registers from Power 10.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D136728

Files:
  llvm/lib/Target/PowerPC/PPCISelLowering.cpp
  llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
  llvm/lib/Target/PowerPC/PPCInstrInfo.h
  llvm/lib/Target/PowerPC/PPCInstrInfo.td
  llvm/lib/Target/PowerPC/PPCInstrMMA.td
  llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
  llvm/lib/Target/PowerPC/PPCRegisterInfo.h
  llvm/test/CodeGen/PowerPC/mmaplus-acc-spill.ll
  llvm/test/CodeGen/PowerPC/mmaplus-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136728.470673.patch
Type: text/x-patch
Size: 73934 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221026/c0d58ae6/attachment.bin>


More information about the llvm-commits mailing list