[llvm-commits] CVS: llvm/utils/TableGen/CodeGenInstruction.h CodeGenTarget.cpp InstrInfoEmitter.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Aug 26 13:40:57 PDT 2005



Changes in directory llvm/utils/TableGen:

CodeGenInstruction.h updated: 1.10 -> 1.11
CodeGenTarget.cpp updated: 1.32 -> 1.33
InstrInfoEmitter.cpp updated: 1.26 -> 1.27
---
Log message:

Expose a new flag to TargetInstrInfo


---
Diffs of the changes:  (+4 -0)

 CodeGenInstruction.h |    1 +
 CodeGenTarget.cpp    |    1 +
 InstrInfoEmitter.cpp |    2 ++
 3 files changed, 4 insertions(+)


Index: llvm/utils/TableGen/CodeGenInstruction.h
diff -u llvm/utils/TableGen/CodeGenInstruction.h:1.10 llvm/utils/TableGen/CodeGenInstruction.h:1.11
--- llvm/utils/TableGen/CodeGenInstruction.h:1.10	Fri Aug 19 11:57:28 2005
+++ llvm/utils/TableGen/CodeGenInstruction.h	Fri Aug 26 15:40:46 2005
@@ -81,6 +81,7 @@
     bool isCommutable;
     bool isTerminator;
     bool hasDelaySlot;
+    bool usesCustomDAGSChedInserter;
     bool hasVariableNumberOfOperands;
 
     CodeGenInstruction(Record *R, const std::string &AsmStr);


Index: llvm/utils/TableGen/CodeGenTarget.cpp
diff -u llvm/utils/TableGen/CodeGenTarget.cpp:1.32 llvm/utils/TableGen/CodeGenTarget.cpp:1.33
--- llvm/utils/TableGen/CodeGenTarget.cpp:1.32	Fri Aug 19 14:12:51 2005
+++ llvm/utils/TableGen/CodeGenTarget.cpp	Fri Aug 26 15:40:46 2005
@@ -250,6 +250,7 @@
   isCommutable = R->getValueAsBit("isCommutable");
   isTerminator = R->getValueAsBit("isTerminator");
   hasDelaySlot = R->getValueAsBit("hasDelaySlot");
+  usesCustomDAGSChedInserter = R->getValueAsBit("usesCustomDAGSChedInserter");
   hasVariableNumberOfOperands = false;
   
   try {


Index: llvm/utils/TableGen/InstrInfoEmitter.cpp
diff -u llvm/utils/TableGen/InstrInfoEmitter.cpp:1.26 llvm/utils/TableGen/InstrInfoEmitter.cpp:1.27
--- llvm/utils/TableGen/InstrInfoEmitter.cpp:1.26	Fri Aug 26 15:17:00 2005
+++ llvm/utils/TableGen/InstrInfoEmitter.cpp	Fri Aug 26 15:40:46 2005
@@ -197,6 +197,8 @@
   if (Inst.isConvertibleToThreeAddress) OS << "|M_CONVERTIBLE_TO_3_ADDR";
   if (Inst.isCommutable) OS << "|M_COMMUTABLE";
   if (Inst.isTerminator) OS << "|M_TERMINATOR_FLAG";
+  if (Inst.usesCustomDAGSChedInserter)
+    OS << "|M_USES_CUSTOM_DAG_SCHED_INSERTION";
   OS << ", 0";
 
   // Emit all of the target-specific flags...






More information about the llvm-commits mailing list