summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
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
commit66476b582d50e1745ff131ba1b15a65d862d1609 (patch)
tree8c5f5ba0a55bf2344c1db40a6965f7f7403bd99c /llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
parentb1c4d5507fada6c91f0aa78af0e7c6a9baa453fc (diff)
downloadbcm5719-llvm-66476b582d50e1745ff131ba1b15a65d862d1609.tar.gz
bcm5719-llvm-66476b582d50e1745ff131ba1b15a65d862d1609.zip
Fix this comment.
llvm-svn: 66065
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 57f59570171..c88bf230ad3 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud