Add capability to print a derived interval graph
authorChris Lattner <sabre@nondot.org>
Wed, 20 Jun 2001 22:44:38 +0000 (22:44 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 20 Jun 2001 22:44:38 +0000 (22:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/InductionVars.cpp

index a4bb98334c29fb6c852d310d3c985363caf1337c..e2f2ad90e672152c3e8608624364ee78b56e2962 100644 (file)
@@ -40,5 +40,14 @@ bool DoInductionVariableCannonicalize(Method *M) {
   // This currently just prints out information about the interval structure
   // of the method...
   for_each(Intervals.begin(), Intervals.end(), PrintIntervalInfo);
+
+  cerr << "*************Reduced Interval**************\n\n";
+
+  cfg::IntervalPartition Intervals2(Intervals, false);
+  
+  // This currently just prints out information about the interval structure
+  // of the method...
+  for_each(Intervals2.begin(), Intervals2.end(), PrintIntervalInfo);
+
   return false;
 }