Changes in directory llvm/utils/TableGen:
CodeGenInstruction.h updated: 1.28 -> 1.29 CodeGenTarget.cpp updated: 1.92 -> 1.93 InstrInfoEmitter.cpp updated: 1.60 -> 1.61 --- Log message: Replace TargetInstrInfo::CanBeDuplicated() with a M_NOT_DUPLICABLE bit. --- Diffs of the changes: (+3 -0) CodeGenInstruction.h | 1 + CodeGenTarget.cpp | 1 + InstrInfoEmitter.cpp | 1 + 3 files changed, 3 insertions(+) Index: llvm/utils/TableGen/CodeGenInstruction.h diff -u llvm/utils/TableGen/CodeGenInstruction.h:1.28 llvm/utils/TableGen/CodeGenInstruction.h:1.29 --- llvm/utils/TableGen/CodeGenInstruction.h:1.28 Wed Jun 6 05:14:55 2007 +++ llvm/utils/TableGen/CodeGenInstruction.h Mon Jun 18 20:26:51 2007 @@ -98,6 +98,7 @@ bool hasCtrlDep; bool noResults; bool clobbersPred; + bool isNotDuplicable; /// ParseOperandName - Parse an operand name like "$foo" or "$foo.bar", /// where $foo is a whole operand and $foo.bar refers to a suboperand. Index: llvm/utils/TableGen/CodeGenTarget.cpp diff -u llvm/utils/TableGen/CodeGenTarget.cpp:1.92 llvm/utils/TableGen/CodeGenTarget.cpp:1.93 --- llvm/utils/TableGen/CodeGenTarget.cpp:1.92 Wed Jun 13 17:20:15 2007 +++ llvm/utils/TableGen/CodeGenTarget.cpp Mon Jun 18 20:26:51 2007 @@ -371,6 +371,7 @@ hasCtrlDep = R->getValueAsBit("hasCtrlDep"); noResults = R->getValueAsBit("noResults"); clobbersPred = R->getValueAsBit("clobbersPred"); + isNotDuplicable = R->getValueAsBit("isNotDuplicable"); hasVariableNumberOfOperands = false; DagInit *DI; Index: llvm/utils/TableGen/InstrInfoEmitter.cpp diff -u llvm/utils/TableGen/InstrInfoEmitter.cpp:1.60 llvm/utils/TableGen/InstrInfoEmitter.cpp:1.61 --- llvm/utils/TableGen/InstrInfoEmitter.cpp:1.60 Wed Jun 6 05:14:55 2007 +++ llvm/utils/TableGen/InstrInfoEmitter.cpp Mon Jun 18 20:26:51 2007 @@ -242,6 +242,7 @@ if (Inst.isTerminator) OS << "|M_TERMINATOR_FLAG"; if (Inst.isReMaterializable) OS << "|M_REMATERIALIZIBLE"; if (Inst.clobbersPred) OS << "|M_CLOBBERS_PRED"; + if (Inst.isNotDuplicable) OS << "|M_NOT_DUPLICABLE"; if (Inst.usesCustomDAGSchedInserter) OS << "|M_USES_CUSTOM_DAG_SCHED_INSERTION"; if (Inst.hasVariableNumberOfOperands) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits