mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +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:
@ -628,7 +628,7 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
virtual bool shouldScheduleLoadsNear(MachineInstr *FirstLdSt,
|
||||
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("
|
||||
|
Reference in New Issue
Block a user