summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit8714348afda10ca13f84c62db7b4f9c72a27b240 (patch)
treefaf233f39f61a2784d8010b0cad4ae338b3e12ab /llvm/lib/Target/PowerPC/PPCSubtarget.h
parent3f5124815d19fd8efc39021ef43106831877c476 (diff)
downloadbcm5719-llvm-8714348afda10ca13f84c62db7b4f9c72a27b240.tar.gz
bcm5719-llvm-8714348afda10ca13f84c62db7b4f9c72a27b240.zip
indicate what the native integer types for the target are.
Please verify. llvm-svn: 86397
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--llvm/lib/Target/PowerPC/PPCSubtarget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h
index 02c8ad79bd3..75fcf6238a2 100644
--- a/llvm/lib/Target/PowerPC/PPCSubtarget.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud