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 0b1ed7e19a
commit d0b6ceb2a0
1 changed files with 1 additions and 1 deletions

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);
}