diff options
author | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-05-13 10:28:46 +0000 |
---|---|---|
committer | Michael Kuperstein <michael.m.kuperstein@intel.com> | 2015-05-13 10:28:46 +0000 |
commit | c3434b390d6ea255aa4bd82cfd6ddcdee99e4a23 (patch) | |
tree | 94dc79d894cf6e87f33787cba82f5a731a3a96be /llvm/utils/TableGen/InstrInfoEmitter.cpp | |
parent | a7b142603da5ae63232b727bb20b997cadbaf4bb (diff) | |
download | bcm5719-llvm-c3434b390d6ea255aa4bd82cfd6ddcdee99e4a23.tar.gz bcm5719-llvm-c3434b390d6ea255aa4bd82cfd6ddcdee99e4a23.zip |
Reverting r237234, "Use std::bitset for SubtargetFeatures"
The buildbots are still not satisfied.
MIPS and ARM are failing (even though at least MIPS was expected to pass).
llvm-svn: 237245
Diffstat (limited to 'llvm/utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r-- | llvm/utils/TableGen/InstrInfoEmitter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp index ba1f5927f6d..d007c1d3907 100644 --- a/llvm/utils/TableGen/InstrInfoEmitter.cpp +++ b/llvm/utils/TableGen/InstrInfoEmitter.cpp @@ -549,15 +549,15 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num, CodeGenTarget &Target = CDP.getTargetInfo(); if (Inst.HasComplexDeprecationPredicate) // Emit a function pointer to the complex predicate method. - OS << ", { } " + OS << ",0" << ",&get" << Inst.DeprecatedReason << "DeprecationInfo"; else if (!Inst.DeprecatedReason.empty()) // Emit the Subtarget feature. - OS << ", { " << Target.getInstNamespace() << "::" << Inst.DeprecatedReason - << "} ,nullptr"; + OS << "," << Target.getInstNamespace() << "::" << Inst.DeprecatedReason + << ",nullptr"; else // Instruction isn't deprecated. - OS << ", { } ,nullptr"; + OS << ",0,nullptr"; OS << " }, // Inst #" << Num << " = " << Inst.TheDef->getName() << "\n"; } |