From 568320595c78d2120b23e9e8b8bd4a1f47ed58e1 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 20 Jun 2001 22:44:38 +0000 Subject: [PATCH] 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 --- lib/Transforms/Scalar/InductionVars.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) 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; } -- 2.34.1