From 778601f8d38a924bba51d0239afd22b6ddde8ff7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 28 Jan 2009 06:58:19 +0000 Subject: [PATCH] long long and double have 64-bit alignment on x86-64. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63191 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/Targets.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index f82b0fcdb1..c3e1a68d20 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -662,6 +662,7 @@ class X86_64TargetInfo : public X86TargetInfo { public: X86_64TargetInfo(const std::string& triple) : X86TargetInfo(triple) { LongWidth = LongAlign = PointerWidth = PointerAlign = 64; + DoubleAlign = LongLongAlign = 64; LongDoubleWidth = 128; LongDoubleAlign = 128; DescriptionString = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"