Add some more debug output.
authorDan Gohman <gohman@apple.com>
Tue, 18 May 2010 22:41:32 +0000 (22:41 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 18 May 2010 22:41:32 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@104080 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index eac1a023bb62e64a888ba5e5bda5934945d20a5d..249b2ac68cf281d864c23377e16bc5dcb6333ecb 100644 (file)
@@ -2695,6 +2695,7 @@ void LSRInstance::NarrowSearchSpaceUsingHeuristics() {
 
     // Ok, we have too many of formulae on our hands to conveniently handle.
     // Use a rough heuristic to thin out the list.
+    DEBUG(dbgs() << "The search space is too complex.\n");
 
     // Pick the register which is used by the most LSRUses, which is likely
     // to be a good reuse register candidate.