git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140769
91177308-0d34-0410-b5e6-
96231b3b80d8
// 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.