mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 06:33:21 +00:00
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:
parent
b361452ef9
commit
299ee184f4
@ -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…
x
Reference in New Issue
Block a user