[PATCH] D63733: [IndVars] Use exit count reasoning to discharge obviously untaken exits
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 24 12:52:35 PDT 2019
nikic added inline comments.
================
Comment at: lib/Transforms/Scalar/IndVarSimplify.cpp:2734
+ SE->isLoopEntryGuardedByCond(L, CmpInst::ICMP_ULT,
+ MaxExitCount, ExitCount))) {
+ auto *BI = cast<BranchInst>(ExitingBB->getTerminator());
----------------
Some kind of copy and paste mistake? The second clause of the `||` fully subsumes the last.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63733/new/
https://reviews.llvm.org/D63733
More information about the llvm-commits
mailing list