mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
Revert accidental checkin.
My last checkin was apparently not the branch I intended. It was missing one change (added by chandlerc), and contained a spurious change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159548 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1de43ede89
commit
14ccc7b963
@ -3057,10 +3057,9 @@ unsigned ARMBaseInstrInfo::getInstrLatency(const InstrItineraryData *ItinData,
|
|||||||
unsigned Class = MCID.getSchedClass();
|
unsigned Class = MCID.getSchedClass();
|
||||||
|
|
||||||
// For instructions with variable uops, use uops as latency.
|
// For instructions with variable uops, use uops as latency.
|
||||||
if (!ItinData->isEmpty() && ItinData->getNumMicroOps(Class) < 0) {
|
if (!ItinData->isEmpty() && ItinData->getNumMicroOps(Class) < 0)
|
||||||
dbgs() << "UOPS " << getNumMicroOps(ItinData, MI) << " " << *MI << '\n';
|
|
||||||
return getNumMicroOps(ItinData, MI);
|
return getNumMicroOps(ItinData, MI);
|
||||||
}
|
|
||||||
// For the common case, fall back on the itinerary's latency.
|
// For the common case, fall back on the itinerary's latency.
|
||||||
unsigned Latency = ItinData->getStageLatency(Class);
|
unsigned Latency = ItinData->getStageLatency(Class);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user