From: Chris Lattner Date: Fri, 3 Nov 2006 01:19:31 +0000 (+0000) Subject: silence warning X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6f51a778274abc21405538481033635afa8daa1b;p=oota-llvm.git silence warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31395 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/IA64/IA64ISelLowering.cpp b/lib/Target/IA64/IA64ISelLowering.cpp index e9176e1bf28..42cbaf023bf 100644 --- a/lib/Target/IA64/IA64ISelLowering.cpp +++ b/lib/Target/IA64/IA64ISelLowering.cpp @@ -130,19 +130,6 @@ const char *IA64TargetLowering::getTargetNodeName(unsigned Opcode) const { } -/// isFloatingPointZero - Return true if this is 0.0 or -0.0. -static bool isFloatingPointZero(SDOperand Op) { - if (ConstantFPSDNode *CFP = dyn_cast(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(Op.getOperand(1))) - if (ConstantFP *CFP = dyn_cast(CP->getConstVal())) - return CFP->isExactlyValue(-0.0) || CFP->isExactlyValue(0.0); - } - return false; -} - std::vector IA64TargetLowering::LowerArguments(Function &F, SelectionDAG &DAG) { std::vector ArgValues;