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

Chris Lattner lattner at cs.uiuc.edu
Thu Dec 22 16:16:11 PST 2005



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.83 -> 1.84
---
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.83 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.84
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.83	Thu Dec 22 15:16:35 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Thu Dec 22 18:15:59 2005
@@ -214,6 +214,13 @@
     // 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,






More information about the llvm-commits mailing list