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:
parent
1c4de5a823
commit
011684e920
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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("
|
||||
|
Loading…
Reference in New Issue
Block a user