[llvm] r304799 - Fix spelling mistake in getRThroughput static function names. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 07:25:35 PDT 2017
Author: rksimon
Date: Tue Jun 6 09:25:34 2017
New Revision: 304799
URL: http://llvm.org/viewvc/llvm-project?rev=304799&view=rev
Log:
Fix spelling mistake in getRThroughput static function names. NFCI.
Modified:
llvm/trunk/lib/CodeGen/TargetSchedule.cpp
Modified: llvm/trunk/lib/CodeGen/TargetSchedule.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TargetSchedule.cpp?rev=304799&r1=304798&r2=304799&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TargetSchedule.cpp (original)
+++ llvm/trunk/lib/CodeGen/TargetSchedule.cpp Tue Jun 6 09:25:34 2017
@@ -337,8 +337,8 @@ computeOutputLatency(const MachineInstr
}
static Optional<double>
-getRTroughputFromItineraries(unsigned schedClass,
- const InstrItineraryData *IID){
+getRThroughputFromItineraries(unsigned schedClass,
+ const InstrItineraryData *IID){
double Unknown = std::numeric_limits<double>::infinity();
double Throughput = Unknown;
@@ -356,9 +356,9 @@ getRTroughputFromItineraries(unsigned sc
}
static Optional<double>
-getRTroughputFromInstrSchedModel(const MCSchedClassDesc *SCDesc,
- const TargetSubtargetInfo *STI,
- const MCSchedModel &SchedModel) {
+getRThroughputFromInstrSchedModel(const MCSchedClassDesc *SCDesc,
+ const TargetSubtargetInfo *STI,
+ const MCSchedModel &SchedModel) {
double Unknown = std::numeric_limits<double>::infinity();
double Throughput = Unknown;
@@ -380,11 +380,11 @@ getRTroughputFromInstrSchedModel(const M
Optional<double>
TargetSchedModel::computeInstrRThroughput(const MachineInstr *MI) const {
if (hasInstrItineraries())
- return getRTroughputFromItineraries(MI->getDesc().getSchedClass(),
- getInstrItineraries());
+ return getRThroughputFromItineraries(MI->getDesc().getSchedClass(),
+ getInstrItineraries());
if (hasInstrSchedModel())
- return getRTroughputFromInstrSchedModel(resolveSchedClass(MI), STI,
- SchedModel);
+ return getRThroughputFromInstrSchedModel(resolveSchedClass(MI), STI,
+ SchedModel);
return Optional<double>();
}
@@ -392,11 +392,11 @@ Optional<double>
TargetSchedModel::computeInstrRThroughput(unsigned Opcode) const {
unsigned SchedClass = TII->get(Opcode).getSchedClass();
if (hasInstrItineraries())
- return getRTroughputFromItineraries(SchedClass, getInstrItineraries());
+ return getRThroughputFromItineraries(SchedClass, getInstrItineraries());
if (hasInstrSchedModel()) {
const MCSchedClassDesc *SCDesc = SchedModel.getSchedClassDesc(SchedClass);
if (SCDesc->isValid() && !SCDesc->isVariant())
- return getRTroughputFromInstrSchedModel(SCDesc, STI, SchedModel);
+ return getRThroughputFromInstrSchedModel(SCDesc, STI, SchedModel);
}
return Optional<double>();
}
More information about the llvm-commits
mailing list