diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp index 16a745cdc6..145f458886 100644 --- a/lib/Basic/TargetInfo.cpp +++ b/lib/Basic/TargetInfo.cpp @@ -24,6 +24,8 @@ TargetInfo::TargetInfo(const std::string &T) : Triple(T) { // Set defaults. These should be overridden by concrete targets as needed. CharIsSigned = true; WCharWidth = WCharAlign = 32; + DoubleWidth = 64; + DoubleAlign = 32; FloatFormat = &llvm::APFloat::IEEEsingle; DoubleFormat = &llvm::APFloat::IEEEdouble; LongDoubleFormat = &llvm::APFloat::IEEEdouble;