diff options
author | Guochun Shi <gshi1@uiuc.edu> | 2003-06-08 23:16:07 +0000 |
---|---|---|
committer | Guochun Shi <gshi1@uiuc.edu> | 2003-06-08 23:16:07 +0000 |
commit | 8f1d4ab409253e665a4cbd92401d345010bdc561 (patch) | |
tree | 63918bddbe36af1d6ecf6a23fcd0da12c48fe912 /lib/CodeGen/ModuloScheduling/ModuloScheduling.h | |
parent | 33280524f4882a3e6a7fa011a62595ba3a65c8ec (diff) |
delete useless functions
add comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6673 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuloScheduling/ModuloScheduling.h')
-rw-r--r-- | lib/CodeGen/ModuloScheduling/ModuloScheduling.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/ModuloScheduling/ModuloScheduling.h b/lib/CodeGen/ModuloScheduling/ModuloScheduling.h index cbb8feacaa..499d8f380d 100644 --- a/lib/CodeGen/ModuloScheduling/ModuloScheduling.h +++ b/lib/CodeGen/ModuloScheduling/ModuloScheduling.h @@ -79,15 +79,15 @@ public: printSchedule() { //return ModuloScheduling::DebugLevel >= DebugLevel_PrintSchedule; - return false; - + return true; + } static bool printScheduleProcess() { //return DebugLevel >= DebugLevel_PrintScheduleProcess; - return false; + return true; } @@ -180,7 +180,7 @@ public: ModuloSchedulingSet(ModuloSchedGraphSet _graphSet): graphSet(_graphSet) { for (unsigned i = 0; i < graphSet.size(); i++) { ModuloSchedGraph & graph = *(graphSet[i]); - if (graph.isLoop()) + if (graph.isLoop(graph.getBasicBlock())) ModuloScheduling ModuloScheduling(graph); } }; |