summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcTargetMachine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/Sparc/SparcTargetMachine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/Sparc/SparcTargetMachine.cpp b/llvm/lib/Target/Sparc/SparcTargetMachine.cpp
index 654b6255000..36d2f6f778d 100644
--- a/llvm/lib/Target/Sparc/SparcTargetMachine.cpp
+++ b/llvm/lib/Target/Sparc/SparcTargetMachine.cpp
@@ -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";
OpenPOWER on IntegriCloud