[PATCH] D89434: AMDGPU: Fix verifier error on killed spill of partially undef register

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 14 16:31:55 PDT 2020


arsenm created this revision.
arsenm added reviewers: rampitec, critson, kzhuravl, cdevadas, scott.linder.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, qcolombet.
Herald added a project: LLVM.
arsenm requested review of this revision.
Herald added a subscriber: wdng.

This does unfortunately end up with extra waitcnts getting inserted
that were avoided before. Ideally we would avoid the spills of these
undef components in the first place.


https://reviews.llvm.org/D89434

Files:
  llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement-stack-lower.ll
  llvm/test/CodeGen/AMDGPU/spill-agpr-partially-undef.mir
  llvm/test/CodeGen/AMDGPU/spill-agpr.mir
  llvm/test/CodeGen/AMDGPU/spill-reg-tuple-super-reg-use.mir
  llvm/test/CodeGen/AMDGPU/vgpr-spill.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89434.298260.patch
Type: text/x-patch
Size: 26948 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201014/0f8b289d/attachment.bin>


More information about the llvm-commits mailing list