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

Jim Laskey jlaskey at apple.com
Wed Aug 17 13:08:15 PDT 2005



Changes in directory llvm/include/llvm/CodeGen:

SelectionDAGNodes.h updated: 1.55 -> 1.56
---
Log message:

Move the code dependency for MathExtras.h from SelectionDAGNodes.h.

Added some class dividers in SelectionDAG.cpp.



---
Diffs of the changes:  (+1 -4)

 SelectionDAGNodes.h |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)


Index: llvm/include/llvm/CodeGen/SelectionDAGNodes.h
diff -u llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.55 llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.56
--- llvm/include/llvm/CodeGen/SelectionDAGNodes.h:1.55	Wed Aug 17 14:20:43 2005
+++ llvm/include/llvm/CodeGen/SelectionDAGNodes.h	Wed Aug 17 15:08:02 2005
@@ -25,7 +25,6 @@
 #include "llvm/ADT/GraphTraits.h"
 #include "llvm/ADT/iterator"
 #include "llvm/Support/DataTypes.h"
-#include "llvm/Support/MathExtras.h"
 #include <cassert>
 #include <vector>
 
@@ -742,9 +741,7 @@
   /// it returns true for things that are clearly not equal, like -0.0 and 0.0.
   /// As such, this method can be used to do an exact bit-for-bit comparison of
   /// two floating point values.
-  bool isExactlyValue(double V) const {
-    return DoubleToBits(V) == DoubleToBits(Value);
-  }
+  bool isExactlyValue(double V) const;
 
   static bool classof(const ConstantFPSDNode *) { return true; }
   static bool classof(const SDNode *N) {






More information about the llvm-commits mailing list