summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 49228a88cd..7b1a340156 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -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.