[PATCH] D132837: [ISel] Enable generating more fma instructions.

Thomas Symalla via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 9 05:59:08 PDT 2022


tsymalla updated this revision to Diff 459025.
tsymalla marked an inline comment as done.
tsymalla added a comment.

This changes a FADD / FMUL => FMA ISel pattern implemented
in D80801 <https://reviews.llvm.org/D80801> so that it peeks through more than one FMA. This also
changes the order of the operands, which can help with eliminating
a final COPY.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132837

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AMDGPU/dagcombine-fma-fmad.ll
  llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132837.459025.patch
Type: text/x-patch
Size: 7167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220909/3ddad90b/attachment.bin>


More information about the llvm-commits mailing list