aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-12-19 16:23:59 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-12-19 16:23:59 +0000
commit9ec26f395b1f072ce89fb6e52760478f31dd88d1 (patch)
tree3431866c339650a2b112a7c7013145313bf06c30 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
parent2345347eb9bf37c2aa33ec90a795f49fa55ecfe2 (diff)
downloadllvm-9ec26f395b1f072ce89fb6e52760478f31dd88d1.zip
llvm-9ec26f395b1f072ce89fb6e52760478f31dd88d1.tar.gz
llvm-9ec26f395b1f072ce89fb6e52760478f31dd88d1.tar.bz2
Long doubles are required to be aligned to 128 bits and svr4 32 bits.
Clang was already getting this right. llvm-svn: 197694
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCTargetMachine.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
index 705dd78..ca969c0 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/llvm/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";