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

Dhruv Chawla via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 6 10:04:26 PDT 2023


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

- Replace usage of `makeExactICmpRegion` with `makeExactNoWrapRegion`


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.537776.patch
Type: text/x-patch
Size: 12151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230706/b53e399f/attachment-0001.bin>


More information about the llvm-commits mailing list