[PATCH] D158002: AMDGPU: InstCombine amdgcn.rcp(amdgcn.sqrt) -> amdgcn.rsq

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 15 10:35:24 PDT 2023


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

We currently have some wrong combines in the backend that
approximately do this.


https://reviews.llvm.org/D158002

Files:
  llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
  llvm/test/Transforms/InstCombine/AMDGPU/rcp-contract-rsq.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158002.550386.patch
Type: text/x-patch
Size: 8097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230815/7e96922d/attachment.bin>


More information about the llvm-commits mailing list