aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorMax Kazantsev <mkazantsev@azul.com>2020-09-29 11:34:15 +0700
committerMax Kazantsev <mkazantsev@azul.com>2020-09-29 11:35:32 +0700
commitd266fd960e73e2ebdcc194564fc2554ff629d12a (patch)
tree52002fb03f76812ffd7da5ecf47859d15ac14cc1 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentc942095790decf525a445f3bd68fb9bcc9aa43c6 (diff)
downloadllvm-d266fd960e73e2ebdcc194564fc2554ff629d12a.zip
llvm-d266fd960e73e2ebdcc194564fc2554ff629d12a.tar.gz
llvm-d266fd960e73e2ebdcc194564fc2554ff629d12a.tar.bz2
[IndVars] Remove exiting conditions that are trivially true/false
When removing exiting loop conditions, we only consider checks for which we know the exact exit count. We could also eliminate checks for which the condition is always true/false. Differential Revision: https://reviews.llvm.org/D87344 Reviewed By: lebedev.ri, reames
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions