[PATCH] D84647: AMDGPU/GlobalISel: Implement expansion for rsq.clamp

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 05:28:57 PDT 2020


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

Not sure why we handle this removed instruction on newer subtargets
for this one and no others, but maintain compatibility with the DAG.


https://reviews.llvm.org/D84647

Files:
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-amdgcn.rsq.clamp.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.rsq.clamp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84647.280873.patch
Type: text/x-patch
Size: 12737 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200727/75c0d9f7/attachment-0001.bin>


More information about the llvm-commits mailing list