[llvm] r197694 - Long doubles are required to be aligned to 128 bits and svr4 32 bits.
Rafael Espindola
rafael.espindola at gmail.com
Thu Dec 19 08:24:00 PST 2013
Author: rafael
Date: Thu Dec 19 10:23:59 2013
New Revision: 197694
URL: http://llvm.org/viewvc/llvm-project?rev=197694&view=rev
Log:
Long doubles are required to be aligned to 128 bits and svr4 32 bits.
Clang was already getting this right.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCTargetMachine.cpp
Modified: llvm/trunk/lib/Target/PowerPC/PPCTargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCTargetMachine.cpp?rev=197694&r1=197693&r2=197694&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCTargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCTargetMachine.cpp Thu Dec 19 10:23:59 2013
@@ -52,10 +52,6 @@ static std::string getDataLayoutString(c
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";
More information about the llvm-commits
mailing list