[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
Wed Jun 28 05:06:31 PDT 2023


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

Rebase on 4b47711ae2ed16014a1b34fb5b4270f5572fd72e <https://reviews.llvm.org/rG4b47711ae2ed16014a1b34fb5b4270f5572fd72e> which introduced checkCondition, use getBool, thanks!


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.535336.patch
Type: text/x-patch
Size: 8873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230628/4d60115e/attachment.bin>


More information about the llvm-commits mailing list