Include IVUsers information in LSR's debug output.
authorDan Gohman <gohman@apple.com>
Thu, 21 Jan 2010 22:46:32 +0000 (22:46 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 21 Jan 2010 22:46:32 +0000 (22:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94108 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopStrengthReduce.cpp

index a5b4fa4bcb7399eec7238284b0d0f32f01a1796c..3341cb386d647ed0efb0908e3dc304f6576bc944 100644 (file)
@@ -2595,7 +2595,7 @@ LSRInstance::LSRInstance(const TargetLowering *tli, Loop *l, Pass *P)
 
   // Ok, we've now collected all the uses and noted their register uses. The
   // next step is to start looking at register reuse possibilities.
-  DEBUG(print(dbgs()); dbgs() << '\n');
+  DEBUG(print(dbgs()); dbgs() << '\n'; IU.dump());
 
   // Create a sorted list of registers with those with the most uses appearing
   // earlier in the list. We'll visit them first, as they're the most likely