[PATCH] D152067: [ConstraintElimination] Handle equality predicates

Antonio Frighetto via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 04:01:46 PDT 2023


antoniofrighetto updated this revision to Diff 528777.
antoniofrighetto added a comment.

Thanks for the suggestion, rebased & the logic for querying `CS.isConditionImplied` has been moved into `::isImpliedBy`. I’m not completely sure if this may be further ameliorated, considering that computing the negated still needs to be done separately.


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

https://reviews.llvm.org/D152067

Files:
  llvm/include/llvm/Analysis/ConstraintSystem.h
  llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
  llvm/test/Transforms/ConstraintElimination/assumes.ll
  llvm/test/Transforms/ConstraintElimination/constants-unsigned-predicates.ll
  llvm/test/Transforms/ConstraintElimination/eq.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152067.528777.patch
Type: text/x-patch
Size: 11547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230606/147e0f35/attachment.bin>


More information about the llvm-commits mailing list