Typo: const MCSchedModel SchedModel -> const MCSchedModel &SchedModel

llvm-svn: 314301
This commit is contained in:
Krzysztof Parzyszek 2017-09-27 12:48:48 +00:00
parent 452a495b24
commit 8abe56713f

View File

@ -114,7 +114,7 @@ const MCSchedModel &MCSubtargetInfo::getSchedModelForCPU(StringRef CPU) const {
InstrItineraryData
MCSubtargetInfo::getInstrItineraryForCPU(StringRef CPU) const {
const MCSchedModel SchedModel = getSchedModelForCPU(CPU);
const MCSchedModel &SchedModel = getSchedModelForCPU(CPU);
return InstrItineraryData(SchedModel, Stages, OperandCycles, ForwardingPaths);
}