diff options
author | Andrew Trick <atrick@apple.com> | 2012-07-02 18:10:42 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-07-02 18:10:42 +0000 |
commit | f161e391f889c32b47c73c8daed697e93b8c709b (patch) | |
tree | 1d087db8f49d61b74957ebfea7cbf3f89d9ba8e8 /llvm/utils/TableGen/SubtargetEmitter.cpp | |
parent | 1698d50aac057304ad1a1f73c45e1d2779fd52f0 (diff) | |
download | bcm5719-llvm-f161e391f889c32b47c73c8daed697e93b8c709b.tar.gz bcm5719-llvm-f161e391f889c32b47c73c8daed697e93b8c709b.zip |
Reapply "Make NumMicroOps a variable in the subtarget's instruction itinerary."
Reapplies r159406 with minor cleanup. The regressions appear to have been spurious.
llvm-svn: 159541
Diffstat (limited to 'llvm/utils/TableGen/SubtargetEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/SubtargetEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/SubtargetEmitter.cpp b/llvm/utils/TableGen/SubtargetEmitter.cpp index 59464d29405..adfd416fc0c 100644 --- a/llvm/utils/TableGen/SubtargetEmitter.cpp +++ b/llvm/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 = ItinClassList[Find]->getValueAsInt("NumMicroOps"); + unsigned NumUOps = ItinData->getValueAsInt("NumMicroOps"); InstrItinerary Intinerary = { NumUOps, FindStage, FindStage + NStages, FindOperandCycle, FindOperandCycle + NOperandCycles}; |