From ab9cf27cd00fef45e9d13fea330d624909809821 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Mon, 22 Nov 2004 20:41:24 +0000 Subject: 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 --- llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Target/SparcV9/ModuloScheduling/ModuloScheduling.h') 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"; } }; } -- cgit v1.2.3