grammar
authorJim Grosbach <grosbach@apple.com>
Tue, 17 Nov 2009 21:37:04 +0000 (21:37 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 17 Nov 2009 21:37:04 +0000 (21:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89145 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index e42129cadc31f3031eab2c7c428847dd2af5a902..564c7ac0615b212ff5de76c4f2e5552b891f6800 100644 (file)
@@ -2603,8 +2603,8 @@ void LoopStrengthReduce::OptimizeLoopTermCond(Loop *L) {
 bool LoopStrengthReduce::OptimizeLoopCountIVOfStride(const SCEV* &Stride,
                                                      IVStrideUse* &CondUse,
                                                      Loop *L) {
-  // If the only use is an icmp of an loop exiting conditional branch, then
-  // attempts the optimization.
+  // If the only use is an icmp of a loop exiting conditional branch, then
+  // attempt the optimization.
   BasedUser User = BasedUser(*CondUse, SE);
   assert(isa<ICmpInst>(User.Inst) && "Expecting an ICMPInst!");
   ICmpInst *Cond = cast<ICmpInst>(User.Inst);