From 5219f86a0bab11dd6895a31653e371e9871a6734 Mon Sep 17 00:00:00 2001 From: Andrew Trick Date: Thu, 29 Sep 2011 01:53:08 +0000 Subject: [PATCH] typo + pasto git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140769 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/LoopStrengthReduce.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 49228a88cd3..7b1a340156d 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.