Changes in directory llvm/utils/TableGen:
InstrInfoEmitter.cpp updated: 1.53 -> 1.54 --- Log message: Add opcode to TargetInstrDescriptor. --- Diffs of the changes: (+4 -3) InstrInfoEmitter.cpp | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) Index: llvm/utils/TableGen/InstrInfoEmitter.cpp diff -u llvm/utils/TableGen/InstrInfoEmitter.cpp:1.53 llvm/utils/TableGen/InstrInfoEmitter.cpp:1.54 --- llvm/utils/TableGen/InstrInfoEmitter.cpp:1.53 Tue Nov 14 20:38:17 2006 +++ llvm/utils/TableGen/InstrInfoEmitter.cpp Thu Nov 16 19:46:27 2006 @@ -197,7 +197,9 @@ else MinOperands = 0; - OS << " { \""; + OS << " { "; + OS << Num << ",\t" << MinOperands << ",\t\""; + if (Inst.Name.empty()) OS << Inst.TheDef->getName(); else @@ -206,8 +208,7 @@ 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; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits