[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Evan Cheng
evan.cheng at apple.com
Sun Mar 26 23:26:30 PST 2006
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;
More information about the llvm-commits
mailing list