summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-07 19:07:32 +0000
committerChris Lattner <sabre@nondot.org>2009-11-07 19:07:32 +0000
commit59a9178fbedb88427c8ff9e5fa7a8f2038f80a2e (patch)
tree5a5f825f89868e83578185abf5e47df6757441bb /lib/Target/PowerPC/PPCSubtarget.h
parent9e496d223102cb3d5e37c513a697e30532e71bc0 (diff)
downloadllvm-59a9178fbedb88427c8ff9e5fa7a8f2038f80a2e.tar.gz
llvm-59a9178fbedb88427c8ff9e5fa7a8f2038f80a2e.tar.bz2
llvm-59a9178fbedb88427c8ff9e5fa7a8f2038f80a2e.tar.xz
indicate what the native integer types for the target are.
Please verify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86397 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 02c8ad79bd..75fcf6238a 100644
--- a/lib/Target/PowerPC/PPCSubtarget.h
+++ b/lib/Target/PowerPC/PPCSubtarget.h
@@ -101,8 +101,8 @@ public:
const char *getTargetDataString() const {
// Note, the alignment values for f64 and i64 on ppc64 in Darwin
// documentation are wrong; these are correct (i.e. "what gcc does").
- return isPPC64() ? "E-p:64:64-f64:64:64-i64:64:64-f128:64:128"
- : "E-p:32:32-f64:32:64-i64:32:64-f128:64:128";
+ return isPPC64() ? "E-p:64:64-f64:64:64-i64:64:64-f128:64:128-n32:64"
+ : "E-p:32:32-f64:32:64-i64:32:64-f128:64:128-n32";
}
/// isPPC64 - Return true if we are generating code for 64-bit pointer mode.