forked from OSchip/llvm-project
Fix the C++11 build. I hate narrowing conversions.
llvm-svn: 159543
This commit is contained in:
parent
f161e391f8
commit
9b887d11b5
|
@ -498,7 +498,7 @@ void SubtargetEmitter::EmitStageAndOperandCycleData(raw_ostream &OS,
|
|||
unsigned Find = ItinClassesMap[Name];
|
||||
|
||||
// Set up itinerary as location and location + stage count
|
||||
unsigned NumUOps = ItinData->getValueAsInt("NumMicroOps");
|
||||
int NumUOps = ItinData->getValueAsInt("NumMicroOps");
|
||||
InstrItinerary Intinerary = { NumUOps, FindStage, FindStage + NStages,
|
||||
FindOperandCycle,
|
||||
FindOperandCycle + NOperandCycles};
|
||||
|
|
Loading…
Reference in New Issue