[cfe-commits] r63191 - /cfe/trunk/lib/Basic/Targets.cpp
Chris Lattner
sabre at nondot.org
Tue Jan 27 22:58:20 PST 2009
Author: lattner
Date: Wed Jan 28 00:58:19 2009
New Revision: 63191
URL: http://llvm.org/viewvc/llvm-project?rev=63191&view=rev
Log:
long long and double have 64-bit alignment on x86-64.
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=63191&r1=63190&r2=63191&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Jan 28 00:58:19 2009
@@ -662,6 +662,7 @@
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-"
More information about the cfe-commits
mailing list