summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-03-04 20:50:23 +0000
committerDan Gohman <gohman@apple.com>2009-03-04 20:50:23 +0000
commitfd0339933b907a5118efdac6d7dc78ac92c0a8c8 (patch)
tree93fa7245e6d4ec7889a0e0d72b52d176780555d3
parentbc10b8c6c7e85e44d8231dfb2fb41a60300857e3 (diff)
downloadllvm-fd0339933b907a5118efdac6d7dc78ac92c0a8c8.tar.gz
llvm-fd0339933b907a5118efdac6d7dc78ac92c0a8c8.tar.bz2
llvm-fd0339933b907a5118efdac6d7dc78ac92c0a8c8.tar.xz
Fix this comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66065 91177308-0d34-0410-b5e6-96231b3b80d8
-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;