[PATCH] D127894: AMDGPU: Fix invalid liveness after si-optimize-exec-masking-pre-ra

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 12:23:16 PDT 2022


arsenm created this revision.
arsenm added reviewers: AMDGPU, foad, rampitec.
Herald added subscribers: kosarev, jsilvanus, hsmhsm, kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

This was leaving behind a use at the deleted instruction which the
verifier would fail during allocation.

      

Also fix incorrectly folding if the incoming cndmask was in a
different block.


https://reviews.llvm.org/D127894

Files:
  llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  llvm/test/CodeGen/AMDGPU/opt-exec-masking-pre-ra-update-liveness-wave32.mir
  llvm/test/CodeGen/AMDGPU/opt-exec-masking-pre-ra-update-liveness.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127894.437295.patch
Type: text/x-patch
Size: 25732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220615/c1342be6/attachment.bin>


More information about the llvm-commits mailing list