diff options
-rw-r--r-- | Basic/TargetInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Basic/TargetInfo.cpp b/Basic/TargetInfo.cpp index e0a464219b..f0aecb1e08 100644 --- a/Basic/TargetInfo.cpp +++ b/Basic/TargetInfo.cpp @@ -37,7 +37,8 @@ void TargetInfo::getFloatInfo(uint64_t &Size, unsigned &Align, void TargetInfo::getDoubleInfo(uint64_t &Size, unsigned &Align, const llvm::fltSemantics *&Format, FullSourceLoc Loc) { - Size = Align = 64; // FIXME: implement correctly. + Size = 64; // FIXME: implement correctly. + Align = 32; Format = &llvm::APFloat::IEEEdouble; } void TargetInfo::getLongDoubleInfo(uint64_t &Size, unsigned &Align, |