diff options
author | Andrew Trick <atrick@apple.com> | 2012-09-18 05:33:15 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-09-18 05:33:15 +0000 |
commit | 34aadd63346b5f9b98749a306b71fcb00ee6996f (patch) | |
tree | 00e7327144ad5270502b6a54bc9eefd10085c227 /utils | |
parent | 88b5a2bf343120b1cc01685dda4815d2c17c7cd1 (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.cpp | 3 |
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 |