mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
Change this overloaded use of Sched::Latency to be an overloaded
use of Sched::ILP instead, as Sched::Latency is going away. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142813 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
334190e47e
commit
692c1d8535
@ -2100,9 +2100,9 @@ static int BUCompareLatency(SUnit *left, SUnit *right, bool checkPref,
|
|||||||
int LHeight = (int)left->getHeight() + LPenalty;
|
int LHeight = (int)left->getHeight() + LPenalty;
|
||||||
int RHeight = (int)right->getHeight() + RPenalty;
|
int RHeight = (int)right->getHeight() + RPenalty;
|
||||||
|
|
||||||
bool LStall = (!checkPref || left->SchedulingPref == Sched::Latency) &&
|
bool LStall = (!checkPref || left->SchedulingPref == Sched::ILP) &&
|
||||||
BUHasStall(left, LHeight, SPQ);
|
BUHasStall(left, LHeight, SPQ);
|
||||||
bool RStall = (!checkPref || right->SchedulingPref == Sched::Latency) &&
|
bool RStall = (!checkPref || right->SchedulingPref == Sched::ILP) &&
|
||||||
BUHasStall(right, RHeight, SPQ);
|
BUHasStall(right, RHeight, SPQ);
|
||||||
|
|
||||||
// If scheduling one of the node will cause a pipeline stall, delay it.
|
// If scheduling one of the node will cause a pipeline stall, delay it.
|
||||||
@ -2124,8 +2124,8 @@ static int BUCompareLatency(SUnit *left, SUnit *right, bool checkPref,
|
|||||||
|
|
||||||
// If either node is scheduling for latency, sort them by height/depth
|
// If either node is scheduling for latency, sort them by height/depth
|
||||||
// and latency.
|
// and latency.
|
||||||
if (!checkPref || (left->SchedulingPref == Sched::Latency ||
|
if (!checkPref || (left->SchedulingPref == Sched::ILP ||
|
||||||
right->SchedulingPref == Sched::Latency)) {
|
right->SchedulingPref == Sched::ILP)) {
|
||||||
if (DisableSchedCycles) {
|
if (DisableSchedCycles) {
|
||||||
if (LHeight != RHeight) {
|
if (LHeight != RHeight) {
|
||||||
DEBUG(++FactorCount[FactHeight]);
|
DEBUG(++FactorCount[FactHeight]);
|
||||||
|
@ -986,7 +986,7 @@ Sched::Preference ARMTargetLowering::getSchedulingPreference(SDNode *N) const {
|
|||||||
if (VT == MVT::Glue || VT == MVT::Other)
|
if (VT == MVT::Glue || VT == MVT::Other)
|
||||||
continue;
|
continue;
|
||||||
if (VT.isFloatingPoint() || VT.isVector())
|
if (VT.isFloatingPoint() || VT.isVector())
|
||||||
return Sched::Latency;
|
return Sched::ILP;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!N->isMachineOpcode())
|
if (!N->isMachineOpcode())
|
||||||
@ -1001,7 +1001,7 @@ Sched::Preference ARMTargetLowering::getSchedulingPreference(SDNode *N) const {
|
|||||||
return Sched::RegPressure;
|
return Sched::RegPressure;
|
||||||
if (!Itins->isEmpty() &&
|
if (!Itins->isEmpty() &&
|
||||||
Itins->getOperandCycle(MCID.getSchedClass(), 0) > 2)
|
Itins->getOperandCycle(MCID.getSchedClass(), 0) > 2)
|
||||||
return Sched::Latency;
|
return Sched::ILP;
|
||||||
|
|
||||||
return Sched::RegPressure;
|
return Sched::RegPressure;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user