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

Andrew Lenharth alenhar2 at cs.uiuc.edu
Sun Jan 1 14:16:55 PST 2006



Changes in directory llvm/lib/Target:

TargetSelectionDAG.td updated: 1.37 -> 1.38
---
Log message:

Add support for brcond

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

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


Index: llvm/lib/Target/TargetSelectionDAG.td
diff -u llvm/lib/Target/TargetSelectionDAG.td:1.37 llvm/lib/Target/TargetSelectionDAG.td:1.38
--- llvm/lib/Target/TargetSelectionDAG.td:1.37	Sat Dec 24 17:36:59 2005
+++ llvm/lib/Target/TargetSelectionDAG.td	Sun Jan  1 16:16:43 2006
@@ -131,6 +131,10 @@
   SDTCisVT<0, OtherVT>
 ]>;
 
+def SDTBrcond : SDTypeProfile<0, 2, [ // brcond
+  SDTCisInt<0>, SDTCisVT<1, OtherVT>
+]>;
+
 def SDTRet : SDTypeProfile<0, 0, []>; // ret
 
 def SDTReadPort : SDTypeProfile<1, 1, [ // readport
@@ -260,6 +264,7 @@
 def select     : SDNode<"ISD::SELECT"     , SDTSelect>;
 def selectcc   : SDNode<"ISD::SELECT_CC"  , SDTSelectCC>;
 
+def brcond     : SDNode<"ISD::BRCOND"     , SDTBrcond, [SDNPHasChain]>;
 def br         : SDNode<"ISD::BR"         , SDTBr,     [SDNPHasChain]>;
 def ret        : SDNode<"ISD::RET"        , SDTRet,    [SDNPHasChain]>;
 






More information about the llvm-commits mailing list