[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 06:17:32 PDT 2017
mkazantsev created this revision.
The patch https://reviews.llvm.org/rL309080 was reverted because it did not clean up the cache on "forgetValue"
method call. This patch re-enables this change, adds the missing check and introduces
two new unit tests that make sure that the cache is cleaned properly.
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.108910.patch
Type: text/x-patch
Size: 23243 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170731/87295e27/attachment.bin>
More information about the llvm-commits
mailing list