From bccb9d45ad1e4b84258b3ba4ec6d1c1e8f633bb1 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 16 Dec 2013 18:01:51 +0000 Subject: The preferred alignment defaults to the abi alignment. Omit if it is the same. llvm-svn: 197400 --- llvm/lib/Target/Sparc/SparcTargetMachine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'llvm/lib/Target/Sparc/SparcTargetMachine.cpp') diff --git a/llvm/lib/Target/Sparc/SparcTargetMachine.cpp b/llvm/lib/Target/Sparc/SparcTargetMachine.cpp index 7324e99af91..172bb66b7c8 100644 --- a/llvm/lib/Target/Sparc/SparcTargetMachine.cpp +++ b/llvm/lib/Target/Sparc/SparcTargetMachine.cpp @@ -29,17 +29,17 @@ static std::string computeDataLayout(const SparcSubtarget &ST) { // Some ABIs have 32bit pointers. if (!ST.is64Bit()) - Ret += "-p:32:32:32"; + Ret += "-p:32:32"; // Alignments for 64 bit integers. - Ret += "-i64:64:64"; + Ret += "-i64: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 += "-n32:64"; else - Ret += "-f128:64:64-n32"; + Ret += "-f128:64-n32"; return Ret; } -- cgit v1.2.3