aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2007-08-03 20:20:50 +0000
committerDale Johannesen <dalej@apple.com>2007-08-03 20:20:50 +0000
commit4c39f717f117d6be7c63546b73d3207b66c7d56e (patch)
tree6b2d76320d1527c029879b5e84cb1d49e5d5eb63 /lib/Target/PowerPC/PPCSubtarget.h
parented7f9938c44031eca573bfc08e1ff2b964835f66 (diff)
downloadexternal_llvm-4c39f717f117d6be7c63546b73d3207b66c7d56e.zip
external_llvm-4c39f717f117d6be7c63546b73d3207b66c7d56e.tar.gz
external_llvm-4c39f717f117d6be7c63546b73d3207b66c7d56e.tar.bz2
long double patch 2 of N. Handle it in TargetData.
(I've tried to get the info right for all targets, but I'm not expert on all of them - check yours.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h
index d1e135c..1ad3f13 100644
--- a/lib/Target/PowerPC/PPCSubtarget.h
+++ b/lib/Target/PowerPC/PPCSubtarget.h
@@ -104,8 +104,8 @@ public:
/// getTargetDataString - Return the pointer size and type alignment
/// properties of this subtarget.
const char *getTargetDataString() const {
- return isPPC64() ? "E-p:64:64-f64:32:64-i64:32:64"
- : "E-p:32:32-f64:32:64-i64:32:64";
+ return isPPC64() ? "E-p:64:64-f64:32:64-i64:32:64-f128:64:128"
+ : "E-p:32:32-f64:32:64-i64:32:64-f128:64:128";
}
/// isPPC64 - Return true if we are generating code for 64-bit pointer mode.