[PATCH] D117814: [AMDGPU] Do not ignore exec use where exec is read as data

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 20 11:02:12 PST 2022


rampitec created this revision.
rampitec added reviewers: sebastian-ne, vangthao.
Herald added subscribers: foad, kerbowa, asbirlea, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
rampitec requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Compares, v_cndmask_b32, and v_readfirstlane_b32 use EXEC
in a way which modifies the result. This implicit EXEC use
shall not be ignored for the purposes of instruction moves.


https://reviews.llvm.org/D117814

Files:
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/test/CodeGen/AMDGPU/licm-valu.mir
  llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117814.401707.patch
Type: text/x-patch
Size: 11259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/e037b915/attachment-0001.bin>


More information about the llvm-commits mailing list