summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-06-29 07:10:41 +0000
committerAndrew Trick <atrick@apple.com>2012-06-29 07:10:41 +0000
commit51a8cf77b862a817c4fd9d1d7dd152c29632204a (patch)
tree58c39f672932d816d4c3b34bd8724d4c150d4efe /llvm/utils
parentf865ba0c0efbea946e50942bc60ba3e41bef921a (diff)
downloadbcm5719-llvm-51a8cf77b862a817c4fd9d1d7dd152c29632204a.tar.gz
bcm5719-llvm-51a8cf77b862a817c4fd9d1d7dd152c29632204a.zip
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. llvm-svn: 159411
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/TableGen/SubtargetEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/SubtargetEmitter.cpp b/llvm/utils/TableGen/SubtargetEmitter.cpp
index adfd416fc0c..59464d29405 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 = ItinData->getValueAsInt("NumMicroOps");
+ unsigned NumUOps = ItinClassList[Find]->getValueAsInt("NumMicroOps");
InstrItinerary Intinerary = { NumUOps, FindStage, FindStage + NStages,
FindOperandCycle,
FindOperandCycle + NOperandCycles};
OpenPOWER on IntegriCloud