mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Add opcode to TargetInstrDescriptor.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31804 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a72ac422a2
commit
fb1aab0673
@ -197,7 +197,9 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
|
||||
else
|
||||
MinOperands = 0;
|
||||
|
||||
OS << " { \"";
|
||||
OS << " { ";
|
||||
OS << Num << ",\t" << MinOperands << ",\t\"";
|
||||
|
||||
if (Inst.Name.empty())
|
||||
OS << Inst.TheDef->getName();
|
||||
else
|
||||
@ -206,8 +208,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num,
|
||||
unsigned ItinClass = !IsItineraries ? 0 :
|
||||
ItinClassNumber(Inst.TheDef->getValueAsDef("Itinerary")->getName());
|
||||
|
||||
OS << "\",\t" << MinOperands << ", " << ItinClass
|
||||
<< ", 0";
|
||||
OS << "\",\t" << ItinClass << ", 0";
|
||||
|
||||
// Try to determine (from the pattern), if the instruction is a store.
|
||||
bool isStore = false;
|
||||
|
Loading…
Reference in New Issue
Block a user