Fix a typo in a comment that Frits von Bommel noticed.
authorDan Gohman <gohman@apple.com>
Fri, 19 Jun 2009 23:41:37 +0000 (23:41 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 19 Jun 2009 23:41:37 +0000 (23:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73796 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index f13d7a7ba88a096ff9c1d95e841ec27ae72e249e..b976bc898c0f9f6fa5060078f6439db9c3491692 100644 (file)
@@ -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;