1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

misched: rename interfaceto avoid gcc warnings

llvm-svn: 167753
This commit is contained in:
Andrew Trick 2012-11-12 21:28:10 +00:00
parent 1c4de5a823
commit 011684e920
2 changed files with 4 additions and 5 deletions

View File

@ -628,9 +628,9 @@ public:
return false;
}
virtual bool shouldScheduleLoadsNear(MachineInstr *FirstLdSt,
MachineInstr *SecondLdSt,
unsigned NumLoads) const {
virtual bool shouldClusterLoads(MachineInstr *FirstLdSt,
MachineInstr *SecondLdSt,
unsigned NumLoads) const {
return false;
}

View File

@ -754,8 +754,7 @@ void LoadClusterMutation::clusterNeighboringLoads(ArrayRef<SUnit*> Loads,
SUnit *SUa = LoadRecords[Idx].SU;
SUnit *SUb = LoadRecords[Idx+1].SU;
if (TII->shouldScheduleLoadsNear(SUa->getInstr(), SUb->getInstr(),
ClusterLength)
if (TII->shouldClusterLoads(SUa->getInstr(), SUb->getInstr(), ClusterLength)
&& DAG->addEdge(SUb, SDep(SUa, SDep::Cluster))) {
DEBUG(dbgs() << "Cluster loads SU(" << SUa->NodeNum << ") - SU("