[all-commits] [llvm/llvm-project] de3ea5: [ScalarEvolution] Refine computeMaxBECountForLT to...

Eli Friedman via All-commits all-commits at lists.llvm.org
Mon Jul 19 15:43:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de3ea51be4367367202da5f53ca4e39848d3ccf6
      https://github.com/llvm/llvm-project/commit/de3ea51be4367367202da5f53ca4e39848d3ccf6
  Author: Eli Friedman <efriedma at quicinc.com>
  Date:   2021-07-19 (Mon, 19 Jul 2021)

  Changed paths:
    M llvm/lib/Analysis/ScalarEvolution.cpp
    M llvm/test/Analysis/ScalarEvolution/max-trip-count.ll

  Log Message:
  -----------
  [ScalarEvolution] Refine computeMaxBECountForLT to be accurate in more cases.

Allow arbitrary strides, and make sure we return the correct result when
the backedge-taken count is zero.

Differential Revision: https://reviews.llvm.org/D106197




More information about the All-commits mailing list