Skip to content

Commit

Permalink
Move this debug output into GenerateAllReuseFormula, to declutter
Browse files Browse the repository at this point in the history
the high-level logic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112436 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Dan Gohman committed Aug 29, 2010
1 parent a7d0d64 commit 3902f9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Transforms/Scalar/LoopStrengthReduce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2795,6 +2795,10 @@ LSRInstance::GenerateAllReuseFormulae() {
}

GenerateCrossUseConstantOffsets();

DEBUG(dbgs() << "\n"
"After generating reuse formulae:\n";
print_uses(dbgs()));
}

/// If their are multiple formulae with the same set of registers used
Expand Down Expand Up @@ -3631,10 +3635,6 @@ LSRInstance::LSRInstance(const TargetLowering *tli, Loop *l, Pass *P)
// to formulate the values needed for the uses.
GenerateAllReuseFormulae();

DEBUG(dbgs() << "\n"
"After generating reuse formulae:\n";
print_uses(dbgs()));

FilterOutUndesirableDedicatedRegisters();
NarrowSearchSpaceUsingHeuristics();

Expand Down

0 comments on commit 3902f9f

Please sign in to comment.