diff options
author | Chris Lattner <sabre@nondot.org> | 2001-06-20 22:44:38 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-06-20 22:44:38 +0000 |
commit | 568320595c78d2120b23e9e8b8bd4a1f47ed58e1 (patch) | |
tree | 27a1de6114517041110cb87688a276b26cb5eff3 /lib/Transforms | |
parent | ed465bc265d9661c080b72604fa92593ae0cc2ca (diff) | |
download | external_llvm-568320595c78d2120b23e9e8b8bd4a1f47ed58e1.zip external_llvm-568320595c78d2120b23e9e8b8bd4a1f47ed58e1.tar.gz external_llvm-568320595c78d2120b23e9e8b8bd4a1f47ed58e1.tar.bz2 |
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
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/InductionVars.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Transforms/Scalar/InductionVars.cpp b/lib/Transforms/Scalar/InductionVars.cpp index a4bb983..e2f2ad9 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; } |