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

Nate Begeman natebegeman at mac.com
Fri Dec 9 18:36:13 PST 2005



Changes in directory llvm/lib/Target:

TargetSelectionDAG.td updated: 1.16 -> 1.17
---
Log message:

Add support for TargetConstantPool nodes to the dag isel emitter, and use
them in the PPC backend, to simplify some logic out of Select and
SelectAddr.


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

 TargetSelectionDAG.td |    2 ++
 1 files changed, 2 insertions(+)


Index: llvm/lib/Target/TargetSelectionDAG.td
diff -u llvm/lib/Target/TargetSelectionDAG.td:1.16 llvm/lib/Target/TargetSelectionDAG.td:1.17
--- llvm/lib/Target/TargetSelectionDAG.td:1.16	Fri Dec  9 19:59:36 2005
+++ llvm/lib/Target/TargetSelectionDAG.td	Fri Dec  9 20:36:00 2005
@@ -174,6 +174,8 @@
                         "GlobalAddressSDNode">;
 def tglobaladdr : SDNode<"ISD::TargetGlobalAddress", SDTImm, [],
                         "GlobalAddressSDNode">;
+def tconstpool  : SDNode<"ISD::TargetConstantPool", SDTImm, [],
+                        "ConstantPoolSDNode">;
 def add        : SDNode<"ISD::ADD"       , SDTIntBinOp   ,
                         [SDNPCommutative, SDNPAssociative]>;
 def sub        : SDNode<"ISD::SUB"       , SDTIntBinOp>;






More information about the llvm-commits mailing list