diff options
author | Andrew Trick <atrick@apple.com> | 2012-09-17 22:19:12 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-09-17 22:19:12 +0000 |
commit | a2a47d1c50a7acecd729109c334ce3c496f0d549 (patch) | |
tree | baa1be9cb377adfaf5e845c3f61bfa565d3de3e5 /utils/TableGen | |
parent | 12886db4a7af74f17281695320c40248cb263f55 (diff) | |
download | external_llvm-a2a47d1c50a7acecd729109c334ce3c496f0d549.zip external_llvm-a2a47d1c50a7acecd729109c334ce3c496f0d549.tar.gz external_llvm-a2a47d1c50a7acecd729109c334ce3c496f0d549.tar.bz2 |
InitMCProcessor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164066 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen')
-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 80f3708..9f88cc2 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 |