[PATCH] D73157: AMDGPU/GlobalISel: Custom lower G_LOG/G_LOG10

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 21 19:31:29 PST 2020


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

I'm pretty sure this is wrong and we should expand these in a correct
way, but this matches the existing behavior.


https://reviews.llvm.org/D73157

Files:
  llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-flog.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-flog10.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73157.239479.patch
Type: text/x-patch
Size: 15005 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200122/e8f899e5/attachment.bin>


More information about the llvm-commits mailing list