aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
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
commit224a19c490da17c6ed75245a4a7ef49cd25f6cdf (patch)
tree0c93bb60ca5376a74592ae8dc62a653e9b952475 /lib/Transforms
parent2c364ad4a65737f3bda876f86eba0061ecbd5470 (diff)
downloadexternal_llvm-224a19c490da17c6ed75245a4a7ef49cd25f6cdf.zip
external_llvm-224a19c490da17c6ed75245a4a7ef49cd25f6cdf.tar.gz
external_llvm-224a19c490da17c6ed75245a4a7ef49cd25f6cdf.tar.bz2
Fix a typo in a comment that Frits von Bommel noticed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73796 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index f13d7a7..b976bc8 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/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;