[all-commits] [llvm/llvm-project] 4f5e9a: [SCEV] Remove computeLoadConstantCompareExitLimit(...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Oct 23 06:34:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4f5e9a2bb28e1cf4a12c9330f52e664542400ec7
      https://github.com/llvm/llvm-project/commit/4f5e9a2bb28e1cf4a12c9330f52e664542400ec7
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-10-23 (Sat, 23 Oct 2021)

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

  Log Message:
  -----------
  [SCEV] Remove computeLoadConstantCompareExitLimit() (NFCI)

The functionality of this method is already covered by
computeExitCountExhaustively() in a more general fashion. It was
added at a time when exhaustive exit count calculation did not
support constant folding loads yet. I double checked that dropping
this code causes no binary changes in test-suite.

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




More information about the All-commits mailing list