commit | e1df212fb3eb651a85ee1e0f493a9f27033901cb | [log] [tgz] |
---|---|---|
author | Tanya Lattner <tonic@nondot.org> | Mon Nov 22 20:41:24 2004 +0000 |
committer | Tanya Lattner <tonic@nondot.org> | Mon Nov 22 20:41:24 2004 +0000 |
tree | 9b82ba9a96fcc94797f41b234fa29c48f3709cff | |
parent | 54a4d6a3cd25f94d1dd2e2908ad6be2c153fbcc4 [diff] [blame] |
Fixed a bug where I was trying to ModuloSchedule a loop with no instructions but a terminator. Fixed a bug in the schedule generation that was always using the start cycle. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18123 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h b/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h index 7f16096..5ed8986 100644 --- a/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h +++ b/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
@@ -113,6 +113,7 @@ public: ModuloSchedulingPass(TargetMachine &targ) : target(targ) {} virtual bool runOnFunction(Function &F); + virtual const char* getPassName() const { return "ModuloScheduling"; } }; }