mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Move the Name field in MCInstrDesc to the end, saving 8 bytes of padding per entry on x86_64.
No change on i386. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150170 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -264,8 +264,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
|
||||
OS << Num << ",\t" << MinOperands << ",\t"
|
||||
<< Inst.Operands.NumDefs << ",\t"
|
||||
<< getItinClassNumber(Inst.TheDef) << ",\t"
|
||||
<< Inst.TheDef->getValueAsInt("Size") << ",\t\""
|
||||
<< Inst.TheDef->getName() << "\", 0";
|
||||
<< Inst.TheDef->getValueAsInt("Size") << ",\t0";
|
||||
|
||||
// Emit all of the target indepedent flags...
|
||||
if (Inst.isPseudo) OS << "|(1<<MCID::Pseudo)";
|
||||
@@ -330,6 +329,8 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
|
||||
else
|
||||
OS << "OperandInfo" << OpInfo.find(OperandInfo)->second;
|
||||
|
||||
OS << ", \"" << Inst.TheDef->getName() << '"';
|
||||
|
||||
OS << " }, // Inst #" << Num << " = " << Inst.TheDef->getName() << "\n";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user