[PATCH] D156707: AMDGPU: Handle multiple uses when matching sincos

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 08:55:13 PDT 2023


arsenm created this revision.
arsenm added reviewers: AMDGPU, rampitec, Pierre-vh, vpykhtin, dfukalov, jmmartinez, yaxunl, jhuber6.
Herald added subscribers: foad, kerbowa, hiraditya, tpr, dstuttard, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

Match how the generic implementation handles this. We now will leave
behind the dead other user for later passes to deal with.


https://reviews.llvm.org/D156707

Files:
  llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
  llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-sincos.defined.ll
  llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-sincos.defined.nobuiltin.ll
  llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-sincos.ll
  llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-sincos.nobuiltins.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156707.545695.patch
Type: text/x-patch
Size: 22889 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230731/e5b47564/attachment.bin>


More information about the llvm-commits mailing list