mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
misched: rename interfaceto avoid gcc warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167753 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
86c88c938a
commit
a7d2d564d9
@ -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