[PATCH] D44461: [SCEV] Consider guards in exit limit computation
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 14 04:13:57 PDT 2018
mkazantsev created this revision.
mkazantsev added reviewers: sanjoy, apilipenko, skatkov, DaniilSuchkov, reames.
Current implementation of computeExitLimit only allows to use explicit
branch conditions to evaluate backedge taken count. This patch teaches
it to take guards conditions into account as well.
https://reviews.llvm.org/D44461
Files:
lib/Analysis/ScalarEvolution.cpp
test/Analysis/ScalarEvolution/exit_count_from_guards.ll
test/Analysis/ScalarEvolution/no-wrap-unknown-becount.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44461.138326.patch
Type: text/x-patch
Size: 8086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180314/a862091c/attachment.bin>
More information about the llvm-commits
mailing list