[PATCH] D139692: [IndVars] Use symbolic max block exit count to handle the last iter
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 02:04:17 PST 2022
mkazantsev added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1705
if (SE->isLoopEntryGuardedByCond(L, CmpInst::ICMP_ULT, MaxBECount,
ExactExitCount)) {
foldExit(L, ExitingBB, false, DeadInsts);
----------------
nikic wrote:
> As a followup, we should be able to use MaxExitCount here as well.
Good catch, need to find a test on it.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139692/new/
https://reviews.llvm.org/D139692
More information about the llvm-commits
mailing list