Apparently APFloat::getZero doesn't like PPCDoubleDoubles.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120909 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2010-12-04 14:43:08 +00:00
parent b361452ef9
commit 299ee184f4

View File

@ -58,7 +58,7 @@ Constant *Constant::getNullValue(const Type *Ty) {
APFloat::getZero(APFloat::IEEEquad));
case Type::PPC_FP128TyID:
return ConstantFP::get(Ty->getContext(),
APFloat::getZero(APFloat::PPCDoubleDouble));
APFloat(APInt::getNullValue(128)));
case Type::PointerTyID:
return ConstantPointerNull::get(cast<PointerType>(Ty));
case Type::StructTyID: