summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-11-22 20:41:24 +0000
committerTanya Lattner <tonic@nondot.org>2004-11-22 20:41:24 +0000
commitab9cf27cd00fef45e9d13fea330d624909809821 (patch)
treeea788494406f7e891e203fbdc5d9c61b5662849b /llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
parentc15c12034275fecab99ac4d404ac810490d44fc6 (diff)
downloadbcm5719-llvm-ab9cf27cd00fef45e9d13fea330d624909809821.tar.gz
bcm5719-llvm-ab9cf27cd00fef45e9d13fea330d624909809821.zip
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. llvm-svn: 18123
Diffstat (limited to 'llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h')
-rw-r--r--llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h b/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
index 7f160968a0f..5ed89863140 100644
--- a/llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h
+++ b/llvm/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"; }
};
}
OpenPOWER on IntegriCloud