add a new node type
authorChris Lattner <sabre@nondot.org>
Sun, 20 Nov 2005 22:55:57 +0000 (22:55 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 20 Nov 2005 22:55:57 +0000 (22:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24436 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 9af8d4efe5eca7ae8ba24dc2a8d89c6dce5f7568..b98a3f022bfd52a877628b84ce0b7638cb9fdccd 100644 (file)
@@ -106,6 +106,13 @@ namespace ISD {
     // two values of the same integer value type, this produces a value twice as
     // big.  Like EXTRACT_ELEMENT, this can only be used before legalization.
     BUILD_PAIR,
+    
+    // MERGE_VALUES - This node takes multiple discrete operands and returns
+    // them all as its individual results.  This nodes has exactly the same
+    // number of inputs and outputs, and is only valid before legalization.
+    // This node is useful for some pieces of the code generator that want to
+    // think about a single node with multiple results, not multiple nodes.
+    MERGE_VALUES,
 
     // Simple integer binary arithmetic operators.
     ADD, SUB, MUL, SDIV, UDIV, SREM, UREM,