diff options
author | Andrew Trick <atrick@apple.com> | 2012-06-29 07:10:41 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-06-29 07:10:41 +0000 |
commit | 3e4b3b9043b1ced24e07d8d1174feeee06c6912e (patch) | |
tree | f31c2d3c63fc1da8b3b598c433759ae8391e62ed /utils | |
parent | 94e3b388e561ce980c861e092bf378bf40202268 (diff) | |
download | external_llvm-3e4b3b9043b1ced24e07d8d1174feeee06c6912e.zip external_llvm-3e4b3b9043b1ced24e07d8d1174feeee06c6912e.tar.gz external_llvm-3e4b3b9043b1ced24e07d8d1174feeee06c6912e.tar.bz2 |
Revert "Make NumMicroOps a variable in the subtarget's instruction itinerary."
This reverts commit r159406. I noticed a performance regression so I'll back out for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-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..59464d2 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"); + unsigned NumUOps = ItinClassList[Find]->getValueAsInt("NumMicroOps"); InstrItinerary Intinerary = { NumUOps, FindStage, FindStage + NStages, FindOperandCycle, FindOperandCycle + NOperandCycles}; |