[llvm-commits] CVS: llvm/lib/Target/Target.td

Dan Gohman djg at cray.com
Mon Jun 25 17:48:47 PDT 2007



Changes in directory llvm/lib/Target:

Target.td updated: 1.105 -> 1.106
---
Log message:

Revert the earlier change that removed the M_REMATERIALIZABLE machine
instruction flag, and use the flag along with a virtual member function
hook for targets to override if there are instructions that are only
trivially rematerializable with specific operands (i.e. constant pool
loads).


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

 Target.td |    1 +
 1 files changed, 1 insertion(+)


Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.105 llvm/lib/Target/Target.td:1.106
--- llvm/lib/Target/Target.td:1.105	Mon Jun 18 20:48:04 2007
+++ llvm/lib/Target/Target.td	Mon Jun 25 19:48:06 2007
@@ -186,6 +186,7 @@
   bit isConvertibleToThreeAddress = 0;  // Can this 2-addr instruction promote?
   bit isCommutable = 0;     // Is this 3 operand instruction commutable?
   bit isTerminator = 0;     // Is this part of the terminator for a basic block?
+  bit isReMaterializable = 0; // Is this instruction re-materializable?
   bit isPredicable = 0;     // Is this instruction predicable?
   bit hasDelaySlot = 0;     // Does this instruction have an delay slot?
   bit usesCustomDAGSchedInserter = 0; // Pseudo instr needing special help.






More information about the llvm-commits mailing list