[llvm-commits] CVS: llvm/lib/Target/TargetSelectionDAG.td
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 16 23:20:26 PST 2005
Changes in directory llvm/lib/Target:
TargetSelectionDAG.td updated: 1.9 -> 1.10
---
Log message:
Add globaladdress and targetglobaladdress nodes for dag patterns
---
Diffs of the changes: (+4 -0)
TargetSelectionDAG.td | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/Target/TargetSelectionDAG.td
diff -u llvm/lib/Target/TargetSelectionDAG.td:1.9 llvm/lib/Target/TargetSelectionDAG.td:1.10
--- llvm/lib/Target/TargetSelectionDAG.td:1.9 Tue Nov 1 20:37:18 2005
+++ llvm/lib/Target/TargetSelectionDAG.td Thu Nov 17 01:20:15 2005
@@ -140,6 +140,10 @@
def vt : SDNode<"ISD::VALUETYPE" , SDTVT , [], "VTSDNode">;
def cond : SDNode<"ISD::CONDCODE" , SDTVT , [], "CondCodeSDNode">;
def undef : SDNode<"ISD::UNDEF" , SDTUNDEF , []>;
+def globaladdr : SDNode<"ISD::GlobalAddress", SDTImm, [],
+ "GlobalAddressSDNode">;
+def tglobaladdr : SDNode<"ISD::TargetGlobalAddress", SDTImm, [],
+ "GlobalAddressSDNode">;
def add : SDNode<"ISD::ADD" , SDTIntBinOp ,
[SDNPCommutative, SDNPAssociative]>;
def sub : SDNode<"ISD::SUB" , SDTIntBinOp>;
More information about the llvm-commits
mailing list