[PATCH] D93305: [AMDGPU][GlobalISel] Transform (fadd (fmul x, y), z) -> (fma x, y, z)

Mateja Marjanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 06:56:25 PDT 2021


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

Move isFPExtFoldable() to the patch where it is used for the first time.
Update tests.


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

https://reviews.llvm.org/D93305

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.h
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-mul-post-legalize.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-mul-pre-legalize.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fma-add-mul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93305.375868.patch
Type: text/x-patch
Size: 409067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/012a1d2f/attachment-0001.bin>


More information about the llvm-commits mailing list