[PATCH] D137081: [AMDGPU] Fix RP tracker's live registers after processing a memory clause.

Valery Pykhtin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 31 07:42:32 PDT 2022


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

It's incorrect to reuse live registers left from the first instruction in a clause after the clause as they don't contain in-clause defs.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D137081

Files:
  llvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp
  llvm/test/CodeGen/AMDGPU/spill-vgpr.ll
  llvm/test/CodeGen/AMDGPU/unallocatable-bundle-regression.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137081.472005.patch
Type: text/x-patch
Size: 9115 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221031/64f873f4/attachment.bin>


More information about the llvm-commits mailing list