diff options
| author | Tom Stellard <thomas.stellard@amd.com> | 2013-07-31 20:43:08 +0000 |
|---|---|---|
| committer | Tom Stellard <thomas.stellard@amd.com> | 2013-07-31 20:43:08 +0000 |
| commit | 0ebf29d41f5e52b7f842468e4230361916abd370 (patch) | |
| tree | 6cc0b89587c2c9e715f5f66655b4995ac29c9573 /llvm | |
| parent | 4dd41845ecafcaf398ecd753bfcb68c34900b4a4 (diff) | |
| download | bcm5719-llvm-0ebf29d41f5e52b7f842468e4230361916abd370.tar.gz bcm5719-llvm-0ebf29d41f5e52b7f842468e4230361916abd370.zip | |
Revert "TableGen: Enumerate Schedule Model too."
This reverts commit 2ca1e4a39c7e0d7a00e66ff5437c6d7ace2404a0.
llvm-svn: 187525
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/docs/WritingAnLLVMBackend.rst | 5 | ||||
| -rw-r--r-- | llvm/utils/TableGen/InstrInfoEmitter.cpp | 7 |
2 files changed, 0 insertions, 12 deletions
diff --git a/llvm/docs/WritingAnLLVMBackend.rst b/llvm/docs/WritingAnLLVMBackend.rst index 85d0de11e82..73381b54517 100644 --- a/llvm/docs/WritingAnLLVMBackend.rst +++ b/llvm/docs/WritingAnLLVMBackend.rst @@ -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 ---------------------------- diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp index b3fa08f852e..c8304de7b16 100644 --- a/llvm/utils/TableGen/InstrInfoEmitter.cpp +++ b/llvm/utils/TableGen/InstrInfoEmitter.cpp @@ -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"; |

