[PATCH] D128110: AMDGPU: Don't delete cndmask with multiple uses in exec mask fold

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 17:21:07 PDT 2022


arsenm created this revision.
arsenm added reviewers: AMDGPU, rampitec, foad.
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 checking if this instruction killed it, but other uses
could appear before the kill.


https://reviews.llvm.org/D128110

Files:
  llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  llvm/test/CodeGen/AMDGPU/no-live-segment-at-use.mir
  llvm/test/CodeGen/AMDGPU/opt-exec-masking-pre-ra-update-liveness.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128110.438074.patch
Type: text/x-patch
Size: 8165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220618/7661988d/attachment.bin>


More information about the llvm-commits mailing list