[PATCH] D147296: [InstCombine] Add support for max(a, b) + min(a, b) => a + b.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 01:23:33 PDT 2023


skatkov updated this revision to Diff 509939.
skatkov edited the summary of this revision.
skatkov added a comment.

Thank you very much for review.


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

https://reviews.llvm.org/D147296

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
  llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  llvm/test/Transforms/InstCombine/add-min-max.ll
  llvm/test/Transforms/InstCombine/mul-min-max.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147296.509939.patch
Type: text/x-patch
Size: 7786 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230331/e3b0b759/attachment.bin>


More information about the llvm-commits mailing list