summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-06-19 23:41:37 +0000
committerDan Gohman <gohman@apple.com>2009-06-19 23:41:37 +0000
commit724f825f96ab44280a5864e67e8151a7792e393d (patch)
tree5c93253b2266ab64a15f6a7e7e9ee6b00431dc71
parent3fd7310d700136b37855b5f9025c58e00489e640 (diff)
downloadbcm5719-llvm-724f825f96ab44280a5864e67e8151a7792e393d.tar.gz
bcm5719-llvm-724f825f96ab44280a5864e67e8151a7792e393d.zip
Fix a typo in a comment that Frits von Bommel noticed.
llvm-svn: 73796
-rw-r--r--llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index f13d7a7ba88..b976bc898c0 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -2118,7 +2118,7 @@ ICmpInst *LoopStrengthReduce::OptimizeMax(Loop *L, ICmpInst *Cond,
const SCEVNAryExpr *Max = cast<SCEVNAryExpr>(IterationCount);
if (Max != SE->getSCEV(Sel)) return Cond;
- // Two handle a max with more than two operands, this optimization would
+ // To handle a max with more than two operands, this optimization would
// require additional checking and setup.
if (Max->getNumOperands() != 2)
return Cond;
OpenPOWER on IntegriCloud