[PATCH] D151799: [ConstraintElim] Try to use first cmp to prove second cmp for ANDs.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 23 13:09:51 PDT 2023


fhahn updated this revision to Diff 534057.
fhahn added a comment.

Rebased on top of D153660 <https://reviews.llvm.org/D153660> which helps to simplify the implementation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151799

Files:
  llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
  llvm/test/Transforms/ConstraintElimination/and-implied-by-operands.ll
  llvm/test/Transforms/ConstraintElimination/and.ll
  llvm/test/Transforms/ConstraintElimination/gep-arithmetic-signed-predicates.ll
  llvm/test/Transforms/ConstraintElimination/geps-precondition-overflow-check.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151799.534057.patch
Type: text/x-patch
Size: 11449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230623/5c951282/attachment.bin>


More information about the llvm-commits mailing list