diff options
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetMachine.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp index 4d55b21f87b..274808839cd 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.cpp +++ b/llvm/lib/Target/X86/X86TargetMachine.cpp @@ -47,9 +47,9 @@ static std::string computeDataLayout(const X86Subtarget &ST) { // Some ABIs align 64 bit integers and doubles to 64 bits, others to 32. if (ST.is64Bit() || ST.isTargetCygMing() || ST.isTargetWindows()) - Ret += "-f64:64:64-i64:64:64"; + Ret += "-i64:64:64"; else - Ret += "-f64:32:64-i64:32:64"; + Ret += "-f64:32:64"; // Some ABIs align long double to 128 bits, others to 32. if (ST.is64Bit() || ST.isTargetDarwin()) @@ -57,9 +57,6 @@ static std::string computeDataLayout(const X86Subtarget &ST) { else Ret += "-f80:32:32"; - // 128 bit floats (?) are aligned to 128 bits. - Ret += "-f128:128:128"; - // The registers can hold 8, 16, 32 or, in x86-64, 64 bits. if (ST.is64Bit()) Ret += "-n8:16:32:64"; |