Changes in directory llvm/lib/CodeGen/SelectionDAG:
SelectionDAG.cpp updated: 1.286 -> 1.287 --- Log message: Incorrect check for FP all one's --- Diffs of the changes: (+2 -1) SelectionDAG.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.286 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.287 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.286 Mon Mar 27 00:58:47 2006 +++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Mon Mar 27 01:26:17 2006 @@ -91,7 +91,8 @@ if (!cast<ConstantSDNode>(NotZero)->isAllOnesValue()) return false; } else if (isa<ConstantFPSDNode>(NotZero)) { - if (!cast<ConstantFPSDNode>(NotZero)->isExactlyValue(-1)) + if (DoubleToBits(cast<ConstantFPSDNode>(NotZero)->getValue()) == + (0ULL - 1)) return false; } else return false; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits