mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Assume defaults to produce smaller datalayout strings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197249 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -33,13 +33,13 @@ static std::string computeDataLayout(const SparcSubtarget &ST) {
|
||||
else
|
||||
Ret += "-p:32:32:32";
|
||||
|
||||
// Alignments for 64 bit integers and doubles.
|
||||
Ret += "-i64:64:64-f64:64:64";
|
||||
// Alignments for 64 bit integers.
|
||||
Ret += "-i64:64:64";
|
||||
|
||||
// On SparcV9 128 floats are aligned to 128 bits, on others only to 64.
|
||||
// On SparcV9 registers can hold 64 or 32 bits, on others only 32.
|
||||
if (ST.is64Bit())
|
||||
Ret += "-f128:128:128-n32:64";
|
||||
Ret += "-n32:64";
|
||||
else
|
||||
Ret += "-f128:64:64-n32";
|
||||
|
||||
|
Reference in New Issue
Block a user