mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-18 09:46:57 +00:00
Make x86 long double alignment 32 for everything but
Darwin (which makes size within a struct==96) llvm-svn: 40796
This commit is contained in:
parent
976a1cf6cf
commit
c8462173c5
@ -116,7 +116,9 @@ X86TargetMachine::X86TargetMachine(const Module &M, const std::string &FS,
|
||||
: Subtarget(M, FS, is64Bit),
|
||||
DataLayout(Subtarget.is64Bit() ?
|
||||
std::string("e-p:64:64-f64:32:64-i64:32:64-f80:128:128") :
|
||||
std::string("e-p:32:32-f64:32:64-i64:32:64-f80:128:128")),
|
||||
Subtarget.isTargetDarwin() ?
|
||||
std::string("e-p:32:32-f64:32:64-i64:32:64-f80:128:128") :
|
||||
std::string("e-p:32:32-f64:32:64-i64:32:64-f80:32:32")),
|
||||
FrameInfo(TargetFrameInfo::StackGrowsDown,
|
||||
Subtarget.getStackAlignment(), Subtarget.is64Bit() ? -8 : -4),
|
||||
InstrInfo(*this), JITInfo(*this), TLInfo(*this) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user