diff options
Diffstat (limited to 'llvm/lib/Bitcode/Reader')
| -rw-r--r-- | llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index 9e4a3dee60f..72785579967 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -632,9 +632,9 @@ bool BitcodeReader::ParseConstants() {        else if (CurTy == Type::X86_FP80Ty)          V = ConstantFP::get(CurTy, APFloat(APInt(80, 2, &Record[0])));        else if (CurTy == Type::FP128Ty) -        V = ConstantFP::get(CurTy, APFloat(APInt(128, 2, &Record[0]))); +        V = ConstantFP::get(CurTy, APFloat(APInt(128, 2, &Record[0]), true));        else if (CurTy == Type::PPC_FP128Ty) -        assert(0 && "PowerPC long double constants not handled yet."); +        V = ConstantFP::get(CurTy, APFloat(APInt(128, 2, &Record[0])));        else          V = UndefValue::get(CurTy);        break; | 

