[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
Thu Jul 11 13:21:59 PDT 2019
nikic accepted this revision.
nikic added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Transforms/Scalar/IndVarSimplify.cpp:2668
+ // If already constant, nothing to do.
+ if (isa<Constant>((BI->getCondition())))
+ continue;
----------------
nit: Unnecessary parens.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63733/new/
https://reviews.llvm.org/D63733
More information about the llvm-commits
mailing list