[llvm-commits] CVS: llvm/include/llvm/CodeGen/SelectionDAGNodes.h

Chris Lattner lattner at cs.uiuc.edu
Fri Apr 8 20:22:06 PDT 2005



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.30 -> 1.31
---
Log message:

Add a new node


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

 SelectionDAGNodes.h |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.30 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.31
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.30	Fri Apr  8 16:31:29 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Fri Apr  8 22:21:50 2005
@@ -216,6 +216,13 @@
     // to if the condition is true.
     BRCOND,
 
+    // BRCONDTWOWAY - Two-way conditional branch.  The first operand is the
+    // chain, the second is the condition, the third is the block to branch to
+    // if true, and the forth is the block to branch to if false.  Targets
+    // usually do not implement this, preferring to have legalize demote the
+    // operation to BRCOND/BR pairs when necessary.
+    BRCONDTWOWAY,
+
     // RET - Return from function.  The first operand is the chain,
     // and any subsequent operands are the return values for the
     // function.  This operation can have variable number of operands.






More information about the llvm-commits mailing list