Now we support itineraries data in calcultion of latency:throughput (when we're going to print out the sched info). As result Atom schedul model shows its current numbers. I'm not sure those numbers are correct but the engine is here and we can move Atom from the old structures to the new ones.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/CodeGen/TargetSubtargetInfo.cpp | ||
---|---|---|
114 | Cleanup the the nested ifs? if (TSchedModel.hasInstrSchedModel()) Latency = TSchedModel.computeInstrLatency(MCI.getOpcode()); else if (TSchedModel.hasInstrItineraries()) { auto *ItinData = TSchedModel.getInstrItineraries(); Latency = ItinData->getStageLatency( getInstrInfo()->get(MCI.getOpcode()).getSchedClass()); } else return std::string(); |
Cleanup the the nested ifs?