[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
Fri Nov 5 10:52:57 PDT 2021


reames added a subscriber: mkazantsev.
reames added a comment.

@nikic, @mkazantsev, @fhahn - Given the the must-exit logic has been removed and this is now pretty much just basic constant range reasoning, I'd greatly appreciate a review so we can get this in.  After implementing the indvars approach, I'm more convinced than ever that SCEV really should just be able to compute a trip count for these loops.  Everything else seems like a massive hack.


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

https://reviews.llvm.org/D109457



More information about the llvm-commits mailing list