diff options
author | Tanya Lattner <tonic@nondot.org> | 2004-11-22 20:41:24 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2004-11-22 20:41:24 +0000 |
commit | e1df212fb3eb651a85ee1e0f493a9f27033901cb (patch) | |
tree | 9b82ba9a96fcc94797f41b234fa29c48f3709cff /lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h | |
parent | 54a4d6a3cd25f94d1dd2e2908ad6be2c153fbcc4 (diff) |
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
Diffstat (limited to 'lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h')
-rw-r--r-- | lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h b/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h index 7f160968a0..5ed8986314 100644 --- a/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h +++ b/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h @@ -113,6 +113,7 @@ namespace llvm { public: ModuloSchedulingPass(TargetMachine &targ) : target(targ) {} virtual bool runOnFunction(Function &F); + virtual const char* getPassName() const { return "ModuloScheduling"; } }; } |