Fix the C++11 build. I hate narrowing conversions.

llvm-svn: 159543
This commit is contained in:
Chandler Carruth 2012-07-02 18:28:34 +00:00
parent f161e391f8
commit 9b887d11b5
1 changed files with 1 additions and 1 deletions

View File

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