[PATCH] D87936: [GISel] Add new combines for G_ADD

Michael Kitzan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 18 15:09:14 PDT 2022


mkitzan updated this revision to Diff 430513.
mkitzan edited the summary of this revision.
mkitzan added reviewers: aemerson, foad.
mkitzan added subscribers: foad, aemerson.
mkitzan added a comment.
Herald added a subscriber: kosarev.
Herald added a project: All.

Updates:

- Rebased patch
- Removed `G_ADD(x, y)` -> `G_OR(x, y)` combine
- Exchanged my custom `applyAddSubSameReg` function for `replaceSingleDefInstWithReg`
- Add @aemerson and @foad to reviewers list


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D87936

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/combine-add.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/add.v2i16.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/combine-urem-pow-2.mir
  llvm/test/CodeGen/AMDGPU/GlobalISel/extractelement.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.memmove.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/saddsat.ll
  llvm/test/CodeGen/AMDGPU/GlobalISel/ssubsat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87936.430513.patch
Type: text/x-patch
Size: 17965 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220518/edd4898f/attachment.bin>


More information about the llvm-commits mailing list