[llvm-commits] [llvm] r140769 - /llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Andrew Trick
atrick at apple.com
Wed Sep 28 18:53:08 PDT 2011
Author: atrick
Date: Wed Sep 28 20:53:08 2011
New Revision: 140769
URL: http://llvm.org/viewvc/llvm-project?rev=140769&view=rev
Log:
typo + pasto
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp?rev=140769&r1=140768&r2=140769&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopStrengthReduce.cpp Wed Sep 28 20:53:08 2011
@@ -3811,10 +3811,10 @@
// 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.
More information about the llvm-commits
mailing list