Add a new node
authorChris Lattner <sabre@nondot.org>
Sat, 9 Apr 2005 03:21:50 +0000 (03:21 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 9 Apr 2005 03:21:50 +0000 (03:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21162 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index adb85f0e9637375294b6595c313518caa7702c03..2011eb87710917ecffb984e7330242d5d89e71e8 100644 (file)
@@ -216,6 +216,13 @@ namespace ISD {
     // 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.