diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-13 17:56:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-13 17:56:11 +0000 |
commit | 1caa693a7be8e4a10d84579f83a38ce031b54ad6 (patch) | |
tree | 7516450b4ba63b5541e94dc23cc7d6e1658b0abe /llvm/lib/Target/X86/X86TargetMachine.cpp | |
parent | 14c57ebed599800c7602e76a9b074d6a974548d4 (diff) | |
download | bcm5719-llvm-1caa693a7be8e4a10d84579f83a38ce031b54ad6.tar.gz bcm5719-llvm-1caa693a7be8e4a10d84579f83a38ce031b54ad6.zip |
Assume defaults to produce smaller datalayout strings.
llvm-svn: 197249
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"; |