From ebd9b73ecd61cc30a3af80414dc82a5c66fb86c7 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 22 Jan 2007 23:09:50 +0000 Subject: [PATCH] Double and long preferred alignment is 8 byte. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33446 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86TargetMachine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp index 17bc7b14eb1..8f648d8edaa 100644 --- a/lib/Target/X86/X86TargetMachine.cpp +++ b/lib/Target/X86/X86TargetMachine.cpp @@ -109,8 +109,8 @@ X86_64TargetMachine::X86_64TargetMachine(const Module &M, const std::string &FS) X86TargetMachine::X86TargetMachine(const Module &M, const std::string &FS, bool is64Bit) : Subtarget(M, FS, is64Bit), DataLayout(Subtarget.is64Bit() ? - std::string("e-p:64:64-d:32:64-l:32") : - std::string("e-p:32:32-d:32:64-l:32")), + std::string("e-p:64:64-d:32:64-l:32:64") : + std::string("e-p:32:32-d:32:64-l:32:64")), FrameInfo(TargetFrameInfo::StackGrowsDown, Subtarget.getStackAlignment(), Subtarget.is64Bit() ? -8 : -4), InstrInfo(*this), JITInfo(*this), TLInfo(*this) {