From d5e2d87d53bb578a9f99da9aa116b73ade0d31eb Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Fri, 18 Apr 2008 05:49:49 +0000 Subject: [PATCH] Initialize default double width and alignment git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49899 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/TargetInfo.cpp | 2 ++ 1 file changed, 2 insertions(+) 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;