[PATCH] D155646: [AMDGPU] Use AV regclass in wwm-reg spill pseudos for gfx908+

Christudasan Devadasan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 14:42:51 PDT 2023


cdevadas created this revision.
cdevadas added reviewers: arsenm, yassingh.
Herald added subscribers: foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, qcolombet.
Herald added a project: All.
cdevadas requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

The wwm register spill pseudos are currently defined for VGPR_32
regclass. It causes a verifier error for gfx908 or above as the
regalloc sometimes restores the values to the vector superclass AV_32.
Fixing it by supporting AV wwm-spill pseudos as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155646

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.h
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
  llvm/test/CodeGen/AMDGPU/whole-wave-register-spill.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155646.541742.patch
Type: text/x-patch
Size: 8788 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230718/81c2421a/attachment.bin>


More information about the llvm-commits mailing list