summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2011-09-29 01:53:08 +0000
committerAndrew Trick <atrick@apple.com>2011-09-29 01:53:08 +0000
commit168dfffdb86741817f0e1476851cc0f0c6485cf6 (patch)
treedc5217fd4fffc511b51ac0d403845448d6708214 /llvm/lib/Transforms
parentfffcf21cf2cff320ca94d5d6b073941793b3321f (diff)
downloadbcm5719-llvm-168dfffdb86741817f0e1476851cc0f0c6485cf6.tar.gz
bcm5719-llvm-168dfffdb86741817f0e1476851cc0f0c6485cf6.zip
typo + pasto
llvm-svn: 140769
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index 49228a88cd3..7b1a340156d 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud