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 | f86e38e452e4dd33e93e75417aee537e73352b96 (patch) | |
| tree | 4802d10bbd5561be234a42510dbc5a23815ab8ef /llvm/lib/Transforms/Scalar/InductionVars.cpp | |
| parent | 5035efaeda16f6fe9b2b1983243b6a127ea3b9f0 (diff) | |
| download | bcm5719-llvm-f86e38e452e4dd33e93e75417aee537e73352b96.tar.gz bcm5719-llvm-f86e38e452e4dd33e93e75417aee537e73352b96.zip | |
Add capability to print a derived interval graph
llvm-svn: 42
Diffstat (limited to 'llvm/lib/Transforms/Scalar/InductionVars.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/InductionVars.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Scalar/InductionVars.cpp b/llvm/lib/Transforms/Scalar/InductionVars.cpp index a4bb98334c2..e2f2ad90e67 100644 --- a/llvm/lib/Transforms/Scalar/InductionVars.cpp +++ b/llvm/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; } |

