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

Evan Cheng evan.cheng at apple.com
Sun Mar 18 23:20:58 PDT 2007



Changes in directory llvm/utils/TableGen:

CodeGenInstruction.h updated: 1.25 -> 1.26
CodeGenTarget.cpp updated: 1.85 -> 1.86
InstrInfoEmitter.cpp updated: 1.56 -> 1.57
---
Log message:

Recognize target instruction flag 'isReMaterializable'.

---
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.25 llvm/utils/TableGen/CodeGenInstruction.h:1.26
--- llvm/utils/TableGen/CodeGenInstruction.h:1.25	Wed Nov 15 17:23:02 2006
+++ llvm/utils/TableGen/CodeGenInstruction.h	Mon Mar 19 01:20:37 2007
@@ -91,6 +91,7 @@
     bool isConvertibleToThreeAddress;
     bool isCommutable;
     bool isTerminator;
+    bool isReMaterializable;
     bool hasDelaySlot;
     bool usesCustomDAGSchedInserter;
     bool hasVariableNumberOfOperands;


Index: llvm/utils/TableGen/CodeGenTarget.cpp
diff -u llvm/utils/TableGen/CodeGenTarget.cpp:1.85 llvm/utils/TableGen/CodeGenTarget.cpp:1.86
--- llvm/utils/TableGen/CodeGenTarget.cpp:1.85	Tue Feb 27 16:08:27 2007
+++ llvm/utils/TableGen/CodeGenTarget.cpp	Mon Mar 19 01:20:37 2007
@@ -356,6 +356,7 @@
   isConvertibleToThreeAddress = R->getValueAsBit("isConvertibleToThreeAddress");
   isCommutable = R->getValueAsBit("isCommutable");
   isTerminator = R->getValueAsBit("isTerminator");
+  isReMaterializable = R->getValueAsBit("isReMaterializable");
   hasDelaySlot = R->getValueAsBit("hasDelaySlot");
   usesCustomDAGSchedInserter = R->getValueAsBit("usesCustomDAGSchedInserter");
   hasCtrlDep   = R->getValueAsBit("hasCtrlDep");


Index: llvm/utils/TableGen/InstrInfoEmitter.cpp
diff -u llvm/utils/TableGen/InstrInfoEmitter.cpp:1.56 llvm/utils/TableGen/InstrInfoEmitter.cpp:1.57
--- llvm/utils/TableGen/InstrInfoEmitter.cpp:1.56	Fri Jan 26 11:29:20 2007
+++ llvm/utils/TableGen/InstrInfoEmitter.cpp	Mon Mar 19 01:20:37 2007
@@ -240,6 +240,7 @@
   if (Inst.isConvertibleToThreeAddress) OS << "|M_CONVERTIBLE_TO_3_ADDR";
   if (Inst.isCommutable) OS << "|M_COMMUTABLE";
   if (Inst.isTerminator) OS << "|M_TERMINATOR_FLAG";
+  if (Inst.isReMaterializable) OS << "|M_REMATERIALIZIBLE";
   if (Inst.usesCustomDAGSchedInserter)
     OS << "|M_USES_CUSTOM_DAG_SCHED_INSERTION";
   if (Inst.hasVariableNumberOfOperands)






More information about the llvm-commits mailing list