aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 57f5957017..c88bf230ad 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -460,7 +460,8 @@ static bool getSCEVStartAndStride(const SCEVHandle &SH, Loop *L,
// If Start contains an SCEVAddRecExpr from a different loop, other than an
// outer loop of the current loop, reject it. SCEV has no concept of
- // operating on one loop at a time so don't confuse it with such expressions.
+ // operating on more than one loop at a time so don't confuse it with such
+ // expressions.
if (containsAddRecFromDifferentLoop(AddRec->getOperand(0), L))
return false;