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
unsigned Class = MCID.getSchedClass();
// For instructions with variable uops, use uops as latency.
- if (!ItinData->isEmpty() && ItinData->getNumMicroOps(Class) < 0) {
- dbgs() << "UOPS " << getNumMicroOps(ItinData, MI) << " " << *MI << '\n';
+ if (!ItinData->isEmpty() && ItinData->getNumMicroOps(Class) < 0)
return getNumMicroOps(ItinData, MI);
- }
+
// For the common case, fall back on the itinerary's latency.
unsigned Latency = ItinData->getStageLatency(Class);