[PATCH] D139692: [IndVars] Use symbolic max block exit count to handle the last iter
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 9 01:58:26 PST 2022
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LG
================
Comment at: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1705
if (SE->isLoopEntryGuardedByCond(L, CmpInst::ICMP_ULT, MaxBECount,
ExactExitCount)) {
foldExit(L, ExitingBB, false, DeadInsts);
----------------
As a followup, we should be able to use MaxExitCount here as well.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139692/new/
https://reviews.llvm.org/D139692
More information about the llvm-commits
mailing list