[PATCH] D90395: [SCEV] Generalize monotonicity check for full and limited iteration space

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 29 07:17:54 PDT 2020


mkazantsev created this revision.
mkazantsev added reviewers: apilipenko, ebrevnov, nikic, lebedev.ri.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
mkazantsev requested review of this revision.

A piece of logic of `isLoopInvariantExitCondDuringFirstIterations` is actually
a generalized predicate monotonicity check. This patch moves it into the
corresponding method and generalizes it a bit.


https://reviews.llvm.org/D90395

Files:
  llvm/include/llvm/Analysis/ScalarEvolution.h
  llvm/lib/Analysis/ScalarEvolution.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90395.301610.patch
Type: text/x-patch
Size: 8630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201029/63dace3d/attachment.bin>


More information about the llvm-commits mailing list