R600: Remove leftover code in R600MachineScheduler.cpp

Spotted by Benjamin Kramer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183413 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Vincent Lejeune 2013-06-06 14:18:29 +00:00
parent e3a0e7f29d
commit 5f035d048e

View File

@ -122,23 +122,7 @@ SUnit* R600SchedStrategy::pickNode(bool &IsTopNode) {
return SU;
}
bool IsUnScheduled(const SUnit *SU) {
return SU->isScheduled;
}
static
void Filter(std::vector<SUnit *> &List) {
List.erase(std::remove_if(List.begin(), List.end(), IsUnScheduled), List.end());
}
void R600SchedStrategy::schedNode(SUnit *SU, bool IsTopNode) {
if (IsTopNode) {
for (unsigned i = 0; i < AluLast; i++) {
Filter(Available[i]);
Filter(Pending[i]);
}
}
if (NextInstKind != CurInstKind) {
DEBUG(dbgs() << "Instruction Type Switch\n");
if (NextInstKind != IDAlu)