diff options
author | Tanya Lattner <tonic@nondot.org> | 2004-11-28 23:36:15 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2004-11-28 23:36:15 +0000 |
commit | 28e5eabf65a7d5afddddbf5e90b0ed8c85140cd6 (patch) | |
tree | c2b31ebbc6217e9e441ab0f1cfbc46d980a79306 /lib/Target/SparcV9/ModuloScheduling/MSSchedule.h | |
parent | b2e4cd645a3392501d41ad55c0d7753e75efe9ac (diff) |
Fixed bug where instructions in the kernel were not ordered right to preserve dependencies in a cycle.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/ModuloScheduling/MSSchedule.h')
-rw-r--r-- | lib/Target/SparcV9/ModuloScheduling/MSSchedule.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/SparcV9/ModuloScheduling/MSSchedule.h b/lib/Target/SparcV9/ModuloScheduling/MSSchedule.h index 248a748591..fcf405d724 100644 --- a/lib/Target/SparcV9/ModuloScheduling/MSSchedule.h +++ b/lib/Target/SparcV9/ModuloScheduling/MSSchedule.h @@ -35,6 +35,9 @@ namespace llvm { //Max stage count int maxStage; + //add at the right spot in the schedule + void addToSchedule(int, MSchedGraphNode*); + public: MSSchedule(int num) : numIssue(num) {} MSSchedule() : numIssue(4) {} |