[PATCH] D112343: [SCEV] Remove computeLoadConstantCompareExitLimit() (NFCI)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 22 13:12:57 PDT 2021


nikic created this revision.
nikic added reviewers: reames, mkazantsev.
Herald added a subscriber: hiraditya.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


https://reviews.llvm.org/D112343

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112343.381642.patch
Type: text/x-patch
Size: 5676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211022/88f17395/attachment.bin>


More information about the llvm-commits mailing list