[PATCH] D98048: [AMDGPU][GlobalISel] Transform (fsub (fneg (fmul, x, y)), z) -> (fma (fneg x), y, (fneg z))

Mateja Marjanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 29 06:21:08 PST 2021


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

Added missing comments and an FMA combiner group in table gen.


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

https://reviews.llvm.org/D98048

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-sub-neg-mul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98048.390334.patch
Type: text/x-patch
Size: 23459 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211129/ad0dceec/attachment.bin>


More information about the llvm-commits mailing list