forked from OSchip/llvm-project
Long doubles are required to be aligned to 128 bits and svr4 32 bits.
Clang was already getting this right. llvm-svn: 197694
This commit is contained in:
parent
2345347eb9
commit
9ec26f395b
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue