typo + pasto
authorAndrew Trick <atrick@apple.com>
Thu, 29 Sep 2011 01:53:08 +0000 (01:53 +0000)
committerAndrew Trick <atrick@apple.com>
Thu, 29 Sep 2011 01:53:08 +0000 (01:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140769 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index 49228a88cd32b7a0f75d4f9921be941a6cd25bbd..7b1a340156d172bc66061df7571e089b7669b466 100644 (file)
@@ -3811,10 +3811,10 @@ LSRInstance::LSRInstance(const TargetLowering *tli, Loop *l, Pass *P)
   // If loop preparation eliminates all interesting IV users, bail.
   if (IU.empty()) return;
 
-  // Skip nested loops until we can model them better with forulae.
+  // Skip nested loops until we can model them better with formulae.
   if (!EnableNested && !L->empty()) {
     DEBUG(dbgs() << "LSR skipping outer loop " << *L << "\n");
-    return false;
+    return;
   }
 
   // Start collecting data and preparing for the solver.