[all-commits] [llvm/llvm-project] 0b74cb: [SCEV] Introduce field for storing SymbolicMaxNotT...

Max Kazantsev via All-commits all-commits at lists.llvm.org
Mon Nov 28 02:30:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0b74cb42312bfcfdb33c85d33443b2607636431f
      https://github.com/llvm/llvm-project/commit/0b74cb42312bfcfdb33c85d33443b2607636431f
  Author: Max Kazantsev <mkazantsev at azul.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

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

  Log Message:
  -----------
  [SCEV] Introduce field for storing SymbolicMaxNotTaken. NFCI

ritht is initialized with either exact (if available) or
with constant max exit count. In the future, this can be improved.

Hypothetically this is not an NFC (it is possible that exact is not
known and max is known for a particular exit), but for how we use
it now it seems be an NFC (or at least I could not find an example
where it differs). constant max exit count. In the future, this can
be improved.

Differential Revision: https://reviews.llvm.org/D138699
Reviewed By: lebedev.ri




More information about the All-commits mailing list