[PATCH] D124194: [AMDGPU] Correctly set `IsKill` flag for VGPR custom spills in the prolog

Christudasan Devadasan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 23 05:26:36 PDT 2022


cdevadas updated this revision to Diff 462451.
cdevadas added a comment.

Remove the spilled register from `LiveRegs` only when `IsKill` is true.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124194/new/

https://reviews.llvm.org/D124194

Files:
  llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
  llvm/test/CodeGen/AMDGPU/av_spill_cross_bb_usage.mir
  llvm/test/CodeGen/AMDGPU/csr-sgpr-spill-live-ins.mir
  llvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr-carry-out.mir
  llvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr-gfx9.mir
  llvm/test/CodeGen/AMDGPU/pei-scavenge-sgpr.mir
  llvm/test/CodeGen/AMDGPU/pei-scavenge-vgpr-spill.mir
  llvm/test/CodeGen/AMDGPU/spill-reg-tuple-super-reg-use.mir
  llvm/test/CodeGen/AMDGPU/track-spilled-vgpr-liveness.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124194.462451.patch
Type: text/x-patch
Size: 16953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220923/fd4bc7d6/attachment.bin>


More information about the llvm-commits mailing list