Apparently APFloat::getZero doesn't like PPCDoubleDoubles.

llvm-svn: 120909
This commit is contained in:
Benjamin Kramer 2010-12-04 14:43:08 +00:00
parent 82f3b5f945
commit 6f88fcb16b
1 changed files with 1 additions and 1 deletions

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: