misched prep: rename InsertPos to End.

ScheduleDAGInstrs knows nothing about how instructions will be moved or inserted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152256 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Trick
2012-03-07 23:00:52 +00:00
parent 953be893e8
commit cf46b5acfd
4 changed files with 20 additions and 22 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ void ScheduleTopDownLive::schedule() {
releaseNode(&(*I));
}
InsertPos = Begin;
MachineBasicBlock::iterator InsertPos = Begin;
while (SUnit *SU = pickNode()) {
DEBUG(dbgs() << "*** Scheduling Instruction:\n"; SU->dump(this));