[llvm-commits] CVS: llvm/lib/Target/IA64/IA64ISelLowering.cpp
Chris Lattner
sabre at nondot.org
Thu Nov 2 17:19:45 PST 2006
Changes in directory llvm/lib/Target/IA64:
IA64ISelLowering.cpp updated: 1.48 -> 1.49
---
Log message:
silence warning
---
Diffs of the changes: (+0 -13)
IA64ISelLowering.cpp | 13 -------------
1 files changed, 13 deletions(-)
Index: llvm/lib/Target/IA64/IA64ISelLowering.cpp
diff -u llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.48 llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.49
--- llvm/lib/Target/IA64/IA64ISelLowering.cpp:1.48 Mon Oct 30 02:02:39 2006
+++ llvm/lib/Target/IA64/IA64ISelLowering.cpp Thu Nov 2 19:19:31 2006
@@ -130,19 +130,6 @@
}
-/// isFloatingPointZero - Return true if this is 0.0 or -0.0.
-static bool isFloatingPointZero(SDOperand Op) {
- if (ConstantFPSDNode *CFP = dyn_cast<ConstantFPSDNode>(Op))
- return CFP->isExactlyValue(-0.0) || CFP->isExactlyValue(0.0);
- else if (ISD::isEXTLoad(Op.Val) || ISD::isNON_EXTLoad(Op.Val)) {
- // Maybe this has already been legalized into the constant pool?
- if (ConstantPoolSDNode *CP = dyn_cast<ConstantPoolSDNode>(Op.getOperand(1)))
- if (ConstantFP *CFP = dyn_cast<ConstantFP>(CP->getConstVal()))
- return CFP->isExactlyValue(-0.0) || CFP->isExactlyValue(0.0);
- }
- return false;
-}
-
std::vector<SDOperand>
IA64TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) {
std::vector<SDOperand> ArgValues;
More information about the llvm-commits
mailing list