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 | 2ee8c115d8f0bd6a47901be966cc311c2470df84 (patch) | |
tree | 2bdb122912b97a6adb82ad415fb5f698233f8365 /llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h | |
parent | 1ecd0e022819989a71cc8e7d8d1893b70b34e0e7 (diff) | |
download | bcm5719-llvm-2ee8c115d8f0bd6a47901be966cc311c2470df84.tar.gz bcm5719-llvm-2ee8c115d8f0bd6a47901be966cc311c2470df84.zip |
delete useless functions
add comment
llvm-svn: 6673
Diffstat (limited to 'llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h')
-rw-r--r-- | llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h b/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h index cbb8feacaa9..499d8f380de 100644 --- a/llvm/lib/CodeGen/ModuloScheduling/ModuloScheduling.h +++ b/llvm/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); } }; |