diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-12-04 14:43:08 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-12-04 14:43:08 +0000 |
| commit | 6f88fcb16bceb60e7b2b6a7f375f2c2140de14bc (patch) | |
| tree | 79dfd482e41555215d0999de29017adee288cf81 /llvm/lib | |
| parent | 82f3b5f94562778c7149570ea4b7bdeeb02f4fc9 (diff) | |
| download | bcm5719-llvm-6f88fcb16bceb60e7b2b6a7f375f2c2140de14bc.tar.gz bcm5719-llvm-6f88fcb16bceb60e7b2b6a7f375f2c2140de14bc.zip | |
Apparently APFloat::getZero doesn't like PPCDoubleDoubles.
llvm-svn: 120909
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/VMCore/Constants.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Constants.cpp b/llvm/lib/VMCore/Constants.cpp index ab9592f728a..29fc0dbdf8d 100644 --- a/llvm/lib/VMCore/Constants.cpp +++ b/llvm/lib/VMCore/Constants.cpp @@ -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: |

