mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Revert "TableGen: Enumerate Schedule Model too."
This reverts commit 2ca1e4a39c7e0d7a00e66ff5437c6d7ace2404a0. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187525 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
af2ea2a4fb
commit
5519dc9de8
@ -952,11 +952,6 @@ XXXInstrInfo.h:
|
||||
int16_t getNamedOperandIdx(uint16_t Opcode, uint16_t NamedIndex);
|
||||
} // End namespace XXX
|
||||
|
||||
Instruction itineraries can be queried using MCDesc::getSchedClass(). The
|
||||
value can be named by an enum generated by TableGen in XXXGenInstrInfo.inc.
|
||||
The name of the schedule classes are the same as provided in XXXSchedule.td plus
|
||||
a default NoIntinerary class.
|
||||
|
||||
Instruction Relation Mapping
|
||||
----------------------------
|
||||
|
||||
|
@ -545,13 +545,6 @@ void InstrInfoEmitter::emitEnums(raw_ostream &OS) {
|
||||
<< "\t= " << i << ",\n";
|
||||
}
|
||||
OS << " INSTRUCTION_LIST_END = " << NumberedInstructions.size() << "\n";
|
||||
OS << " };\n";
|
||||
OS << " enum {\n";
|
||||
for (unsigned i = 0, e = SchedModels.numInstrSchedClasses(); i != e; ++i) {
|
||||
OS << " " << SchedModels.getSchedClass(i).Name
|
||||
<< "\t= " << i << ",\n";
|
||||
}
|
||||
OS << " SCHED_LIST_END = " << SchedModels.numInstrSchedClasses() << "\n";
|
||||
OS << " };\n}\n";
|
||||
OS << "} // End llvm namespace \n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user