[PATCH] D157875: AMDGPU: Replace fabs and copysign libcalls with intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 14 07:46:02 PDT 2023


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

Preserves flags and metadata like the other cases.


https://reviews.llvm.org/D157875

Files:
  llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
  llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-copysign.ll
  llvm/test/CodeGen/AMDGPU/amdgpu-simplify-libcall-fabs.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157875.549930.patch
Type: text/x-patch
Size: 31082 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230814/9e4a9f67/attachment.bin>


More information about the llvm-commits mailing list