[PATCH] D134354: [AMDGPU][GlobalISel] Support mad/fma_mix selection

Pierre van Houtryve via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 27 05:57:53 PDT 2022


Pierre-vh updated this revision to Diff 463207.
Pierre-vh marked 2 inline comments as done.
Pierre-vh added a comment.

Fix tests affected by isCanonicalized/isKnownNeverNaN changes
I minimized the addition to those functions to minimize the amount of tests impacted.
They both need more love + the FADD to FNEG combine would be nice too, but not in this patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134354

Files:
  llvm/lib/CodeGen/GlobalISel/Utils.cpp
  llvm/lib/Target/AMDGPU/AMDGPUGISel.td
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/VOP3PInstructions.td
  llvm/test/CodeGen/AMDGPU/GlobalISel/clamp-fmed3-const-combine.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/clamp-minmax-const-combine.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fcanonicalize.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-fma.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-ext-mul.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-ext-mul.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-ext-neg-mul.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-mul.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-neg-mul.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-foldable-fneg.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f16.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/fmed3.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/mad-mix-hi.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/mad-mix-lo.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/mad-mix.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/regbankcombiner-clamp-fmed3-const.mir
  llvm/test/CodeGen/AMDGPU/v_pack.ll
  llvm/test/TableGen/GlobalISelEmitter.td
  llvm/utils/TableGen/GlobalISelEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134354.463207.patch
Type: text/x-patch
Size: 130502 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220927/faa659fd/attachment.bin>


More information about the llvm-commits mailing list