[PATCH] D36087: [SCEV] Re-enable "Cache results of computeExitLimit"

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 07:47:17 PDT 2017


mkazantsev updated this revision to Diff 108923.
mkazantsev added a comment.

Now we don't throw away the exit limit for sake of a more optimistic future estimation every time we calculate getBackedgeTakenInfo. It doesn't look like estimation of Exit Limit for a particular exit block may be improved from what we have there.


https://reviews.llvm.org/D36087

Files:
  include/llvm/Analysis/ScalarEvolution.h
  lib/Analysis/ScalarEvolution.cpp
  test/Analysis/ScalarEvolution/cache_loop_exit_limit.ll
  unittests/Analysis/ScalarEvolutionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D36087.108923.patch
Type: text/x-patch
Size: 24152 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170731/4f908599/attachment.bin>


More information about the llvm-commits mailing list