[PATCH] D154565: [InstCombine] Fold icmps comparing uadd_sat with a constant

Dhruv Chawla via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 7 22:35:37 PDT 2023


0xdc03 updated this revision to Diff 538322.
0xdc03 added a comment.

- Simplify comment
- Remove IntrinsicIsAddition


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D154565

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/icmp-uadd-sat.ll
  llvm/test/Transforms/InstCombine/icmp-usub-sat.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154565.538322.patch
Type: text/x-patch
Size: 11839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230708/1347a4ac/attachment.bin>


More information about the llvm-commits mailing list