[PATCH] D110076: [AMDGPU][GlobalISel] Code quality: Combine V_RSQ

Mateja Marjanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 26 07:52:18 PST 2021


matejam updated this revision to Diff 390062.
matejam added a comment.

Added .ll test. Don't cover the G_FDIV + G_FSQRT case, only with rcp intrinsic (by the time it gets to the postlegalizer it will be transformed to that).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D110076/new/

https://reviews.llvm.org/D110076

Files:
  llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
  llvm/lib/Target/AMDGPU/AMDGPUCombine.td
  llvm/lib/Target/AMDGPU/AMDGPUInstructions.td
  llvm/lib/Target/AMDGPU/AMDGPUPostLegalizerCombiner.cpp
  llvm/lib/Target/AMDGPU/CaymanInstructions.td
  llvm/lib/Target/AMDGPU/EvergreenInstructions.td
  llvm/lib/Target/AMDGPU/R600Instructions.td
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-rsq.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-rsq.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110076.390062.patch
Type: text/x-patch
Size: 10419 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211126/8290913a/attachment.bin>


More information about the llvm-commits mailing list