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

Evan Cheng evan.cheng at apple.com
Mon Jan 9 10:28:34 PST 2006



Changes in directory llvm/lib/Target:

Target.td updated: 1.67 -> 1.68
TargetSelectionDAG.td updated: 1.41 -> 1.42
---
Log message:

New DAG node properties SNDPInFlag, SNDPOutFlag, and SNDPOptInFlag to replace
hasInFlag, hasOutFlag.


---
Diffs of the changes:  (+3 -2)

 Target.td             |    2 --
 TargetSelectionDAG.td |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/Target.td
diff -u llvm/lib/Target/Target.td:1.67 llvm/lib/Target/Target.td:1.68
--- llvm/lib/Target/Target.td:1.67	Mon Dec 26 03:11:44 2005
+++ llvm/lib/Target/Target.td	Mon Jan  9 12:28:21 2006
@@ -169,8 +169,6 @@
   bit hasDelaySlot = 0;     // Does this instruction have an delay slot?
   bit usesCustomDAGSchedInserter = 0; // Pseudo instr needing special help.
   bit hasCtrlDep   = 0;     // Does this instruction r/w ctrl-flow chains?
-  bit hasInFlag    = 0;     // Does this instruction read a flag operand?
-  bit hasOutFlag   = 0;     // Does this instruction write a flag operand?
   bit noResults    = 0;     // Does this instruction produce no results?
   
   InstrItinClass Itinerary; // Execution steps used for scheduling. 


Index: llvm/lib/Target/TargetSelectionDAG.td
diff -u llvm/lib/Target/TargetSelectionDAG.td:1.41 llvm/lib/Target/TargetSelectionDAG.td:1.42
--- llvm/lib/Target/TargetSelectionDAG.td:1.41	Wed Jan  4 20:07:49 2006
+++ llvm/lib/Target/TargetSelectionDAG.td	Mon Jan  9 12:28:21 2006
@@ -174,6 +174,9 @@
 def SDNPCommutative : SDNodeProperty;   // X op Y == Y op X
 def SDNPAssociative : SDNodeProperty;   // (X op Y) op Z == X op (Y op Z)
 def SDNPHasChain    : SDNodeProperty;   // R/W chain operand and result
+def SDNPOutFlag     : SDNodeProperty;   // Write a flag result
+def SDNPInFlag      : SDNodeProperty;   // Read a flag operand
+def SDNPOptInFlag   : SDNodeProperty;   // Optionally read a flag operand
 
 //===----------------------------------------------------------------------===//
 // Selection DAG Node definitions.






More information about the llvm-commits mailing list