From: Chris Lattner Date: Wed, 20 Jun 2001 22:44:38 +0000 (+0000) Subject: Add capability to print a derived interval graph X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=568320595c78d2120b23e9e8b8bd4a1f47ed58e1;p=oota-llvm.git Add capability to print a derived interval graph git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Scalar/InductionVars.cpp b/lib/Transforms/Scalar/InductionVars.cpp index a4bb98334c2..e2f2ad90e67 100644 --- a/lib/Transforms/Scalar/InductionVars.cpp +++ b/lib/Transforms/Scalar/InductionVars.cpp @@ -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; }