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

Mateja Marjanovic via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 20 10:27:28 PDT 2021


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

Use mi_match for comparing instructions instead of comparing the opcodes.


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

https://reviews.llvm.org/D96614

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-mul.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96614.346787.patch
Type: text/x-patch
Size: 41486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210520/563a2682/attachment.bin>


More information about the llvm-commits mailing list