From: Rafael Espindola Date: Thu, 19 Dec 2013 16:23:59 +0000 (+0000) Subject: Long doubles are required to be aligned to 128 bits and svr4 32 bits. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f779a6cacc83d94ac138b28393cdadd86321cb89;p=oota-llvm.git Long doubles are required to be aligned to 128 bits and svr4 32 bits. Clang was already getting this right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197694 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp index 705dd783fc3..ca969c01125 100644 --- a/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/lib/Target/PowerPC/PPCTargetMachine.cpp @@ -52,10 +52,6 @@ static std::string getDataLayoutString(const PPCSubtarget &ST) { else Ret += "-f64:32:64"; - // Set support for 128 floats depending on the ABI. - if (!ST.isPPC64() && ST.isSVR4ABI()) - Ret += "-f128:64:128"; - // PPC64 has 32 and 64 bit registers, PPC32 has only 32 bit ones. if (ST.isPPC64()) Ret += "-n32:64";