[PATCH] D109457: [SCEV] Use constant range of RHS to prove NUW on narrow IV in trip count logic

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 16 12:11:26 PDT 2021


reames updated this revision to Diff 373028.
reames added a comment.

address review comment with better comments, also fixed a bug noticed in the process.  I used max in two places, whereas one of them needed to be a min for the required purpose.

Planning to land the test, then rebase this.


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

https://reviews.llvm.org/D109457

Files:
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Analysis/ScalarEvolution/trip-count-implied-addrec.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109457.373028.patch
Type: text/x-patch
Size: 7588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210916/b1741b5c/attachment.bin>


More information about the llvm-commits mailing list