[PATCH] D134048: [ConstraintElimination] Simplify usub(a,b) if a s>=b.

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 16 07:30:35 PDT 2022


zjaffal created this revision.
zjaffal added reviewers: fhahn, spatel, nikic, reames, rapidsna, fcloutier.
Herald added a subscriber: hiraditya.
Herald added a project: All.
zjaffal requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This optimization follows the work from D125264 <https://reviews.llvm.org/D125264>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D134048

Files:
  llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
  llvm/test/Transforms/ConstraintElimination/usub-with-overflow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134048.460752.patch
Type: text/x-patch
Size: 5543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220916/d446aa0a/attachment.bin>


More information about the llvm-commits mailing list