mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
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:
parent
e3a0e7f29d
commit
5f035d048e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user