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
This commit is contained in:
Chris Lattner 2009-01-28 06:58:19 +00:00
Родитель 47354ed151
Коммит 778601f8d3
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -662,6 +662,7 @@ class X86_64TargetInfo : public X86TargetInfo {
public: public:
X86_64TargetInfo(const std::string& triple) : X86TargetInfo(triple) { X86_64TargetInfo(const std::string& triple) : X86TargetInfo(triple) {
LongWidth = LongAlign = PointerWidth = PointerAlign = 64; LongWidth = LongAlign = PointerWidth = PointerAlign = 64;
DoubleAlign = LongLongAlign = 64;
LongDoubleWidth = 128; LongDoubleWidth = 128;
LongDoubleAlign = 128; LongDoubleAlign = 128;
DescriptionString = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-" DescriptionString = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-"