[PATCH] D149251: [SCEV] Replace NumTripCountsComputed stat with NumExitCountsComputed
Dmitry Makogon via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 3 00:39:09 PDT 2023
dmakogon updated this revision to Diff 518993.
dmakogon retitled this revision from "[SCEV] Don't compute exact backedge taken count to update stats" to "[SCEV] Replace NumTripCountsComputed stat with NumExitCountsComputed".
dmakogon edited the summary of this revision.
dmakogon added a comment.
As suggested by @nikic I replaced the `NumTripCountsComputed` and `NumTripCountsNotComputed` with `NumExitCountsComputed` and `NumExitCountsNotComputed` respectively. They are updated during computations made for single exits. It relieves us of the need to compute exact exit count for the loop just to update the named statistic and thus the recursion cannot happen anymore.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149251/new/
https://reviews.llvm.org/D149251
Files:
llvm/lib/Analysis/ScalarEvolution.cpp
llvm/test/Analysis/ScalarEvolution/pr62380.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149251.518993.patch
Type: text/x-patch
Size: 5143 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230503/6881b3ac/attachment.bin>
More information about the llvm-commits
mailing list