[PATCH] D77653: AMDGPU/GlobalISel: Fix selection of scalar f64 G_FABS

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 08:39:53 PDT 2020


arsenm created this revision.
arsenm added reviewers: kerbowa, nhaehnle, foad.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.

This wasn't covered by existing tablegen patterns, but also suffers
the same issues as G_FNEG. Workaround them by manually selecting, like
G_FNEG.


https://reviews.llvm.org/D77653

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fabs.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77653.255688.patch
Type: text/x-patch
Size: 4877 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200407/ff846242/attachment.bin>


More information about the llvm-commits mailing list