diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-07-02 18:28:34 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-07-02 18:28:34 +0000 |
commit | 506bb19d10fd3f1a9486e9c8bef632f13da8fe4a (patch) | |
tree | 8367975be782afd49d2746a494bd2a7d94c88d5d /utils/TableGen | |
parent | 218ee74a011c0d350099c452810da0bd57a15047 (diff) | |
download | external_llvm-506bb19d10fd3f1a9486e9c8bef632f13da8fe4a.zip external_llvm-506bb19d10fd3f1a9486e9c8bef632f13da8fe4a.tar.gz external_llvm-506bb19d10fd3f1a9486e9c8bef632f13da8fe4a.tar.bz2 |
Fix the C++11 build. I hate narrowing conversions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159543 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-rw-r--r-- | utils/TableGen/SubtargetEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/SubtargetEmitter.cpp b/utils/TableGen/SubtargetEmitter.cpp index adfd416..8089908 100644 --- a/utils/TableGen/SubtargetEmitter.cpp +++ b/utils/TableGen/SubtargetEmitter.cpp @@ -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}; |