[all-commits] [llvm/llvm-project] 2734a9: [NFC][SCEV] Generalize monotonicity check for full...

max-azul via All-commits all-commits at lists.llvm.org
Wed Nov 11 21:37:46 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2734a9ebf4a31df0131acdfc739395a5e692c342
      https://github.com/llvm/llvm-project/commit/2734a9ebf4a31df0131acdfc739395a5e692c342
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2020-11-12 (Thu, 12 Nov 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/ScalarEvolution.h
    M llvm/lib/Analysis/ScalarEvolution.cpp

  Log Message:
  -----------
  [NFC][SCEV] Generalize monotonicity check for full and limited iteration space

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.

Differential Revision: https://reviews.llvm.org/D90395
Reviewed By: apilipenko




More information about the All-commits mailing list