summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authoratrick <atrick@91177308-0d34-0410-b5e6-96231b3b80d8>2012-09-18 05:33:15 +0000
committeratrick <atrick@91177308-0d34-0410-b5e6-96231b3b80d8>2012-09-18 05:33:15 +0000
commit3a8e6af4d0b1eb29a209c9181177ac37da66796f (patch)
tree00e7327144ad5270502b6a54bc9eefd10085c227 /utils
parentc5cf3208fe1cf9903404fd0249c5ffc12895f075 (diff)
Replaced ReInitMCSubtargetInfo with InitMCProcessor.
Now where we used to call ReInitMCSubtargetInfo, we actually recompute the same information as InitMCSubtargetInfo instead of only setting the feature bits. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164105 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/SubtargetEmitter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/TableGen/SubtargetEmitter.cpp b/utils/TableGen/SubtargetEmitter.cpp
index 0717a7fad0..b78d93e270 100644
--- a/utils/TableGen/SubtargetEmitter.cpp
+++ b/utils/TableGen/SubtargetEmitter.cpp
@@ -1213,7 +1213,8 @@ void SubtargetEmitter::ParseFeaturesFunction(raw_ostream &OS,
return;
}
- OS << " uint64_t Bits = ReInitMCSubtargetInfo(CPU, FS);\n";
+ OS << " InitMCProcessorInfo(CPU, FS);\n"
+ << " uint64_t Bits = getFeatureBits();\n";
for (unsigned i = 0; i < Features.size(); i++) {
// Next record