add a new node
authorChris Lattner <sabre@nondot.org>
Fri, 23 Dec 2005 00:15:59 +0000 (00:15 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 23 Dec 2005 00:15:59 +0000 (00:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24969 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGNodes.h

index 61143a75ce7163e313e2a9ea4550aca5cafd8b0e..2fb156db3f08db3810d718622a7f639f23d76c6e 100644 (file)
@@ -214,6 +214,13 @@ namespace ISD {
     // FP_EXTEND - Extend a smaller FP type into a larger FP type.
     FP_EXTEND,
 
+    // BIT_CONVERT - Theis operator converts between integer and FP values, as
+    // if one was stored to memory as integer and the other was loaded from the
+    // same address.  The source and result are required to have the same bit
+    // size (e.g. f32 <-> i32).  This can also be used for int-to-int or 
+    // fp-to-fp conversions, but that is a noop, deleted by getNode().
+    BIT_CONVERT,
+    
     // FNEG, FABS, FSQRT, FSIN, FCOS - Perform unary floating point negation,
     // absolute value, square root, sine and cosine operations.
     FNEG, FABS, FSQRT, FSIN, FCOS,