diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-29 15:21:38 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-29 15:21:38 +0000 |
commit | 3902f9fca8dd69ca3c5fce564deff817d7db3a8b (patch) | |
tree | 42d4511aac0bf5d318ab5826a5711486d1d762e0 /lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
parent | a7d0d64b7ae675908fefa1bc927ecc6b9024f48c (diff) |
Move this debug output into GenerateAllReuseFormula, to declutter
the high-level logic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112436 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 0566bf74c8..ad87fcaaa4 100644 --- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -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 @@ -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(); |