[PATCH] D142682: AMDGPU: Combine down fcopysign f64 magnitude

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 26 17:46:14 PST 2023


arsenm created this revision.
arsenm added reviewers: AMDGPU, foad, Pierre-vh, rampitec.
Herald added subscribers: kosarev, 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.

Copy through the low bits and only apply an f32
copysign to the high half.


https://reviews.llvm.org/D142682

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/fcopysign.f16.ll
  llvm/test/CodeGen/AMDGPU/fcopysign.f64.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142682.492617.patch
Type: text/x-patch
Size: 16525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230127/dc9ea9d1/attachment.bin>


More information about the llvm-commits mailing list