forked from OSchip/llvm-project
Apparently APFloat::getZero doesn't like PPCDoubleDoubles.
llvm-svn: 120909
This commit is contained in:
parent
82f3b5f945
commit
6f88fcb16b
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue