Changes in directory llvm/lib/VMCore:
Constants.cpp updated: 1.203 -> 1.204 --- Log message: Whoops, fix typo in last commit. --- Diffs of the changes: (+6 -6) Constants.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) Index: llvm/lib/VMCore/Constants.cpp diff -u llvm/lib/VMCore/Constants.cpp:1.203 llvm/lib/VMCore/Constants.cpp:1.204 --- llvm/lib/VMCore/Constants.cpp:1.203 Sat Jan 20 18:29:26 2007 +++ llvm/lib/VMCore/Constants.cpp Sat Jan 20 20:29:10 2007 @@ -1882,12 +1882,12 @@ } Constant *ConstantExpr::getZeroValueForNegationExpr(const Type *Ty) { - if ((const PackedType *PTy = dyn_cast<PackedType>(Ty)) && - PTy->getElementType()->isFloatingPoint()) { - std::vector<Constant*> zeros(PTy->getNumElements(), - ConstantFP::get(PTy->getElementType(), -0.0)); - return ConstantPacked::get(PTy, zeros); - } + if (const PackedType *PTy = dyn_cast<PackedType>(Ty)) + if (PTy->getElementType()->isFloatingPoint()) { + std::vector<Constant*> zeros(PTy->getNumElements(), + ConstantFP::get(PTy->getElementType(),-0.0)); + return ConstantPacked::get(PTy, zeros); + } if (Ty->isFloatingPoint()) return ConstantFP::get(Ty, -0.0); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits