diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-14 05:52:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-14 05:52:17 +0000 |
commit | d2b7cec527a0efa552628378ebca7a8ca63bb45d (patch) | |
tree | 1fc447550e1b1096e5024525926176e8acdc622d /lib/Target/PowerPC/PPCSubtarget.h | |
parent | 879dfe1c9c563d05bc210bde6ac948f6b2980206 (diff) | |
download | external_llvm-d2b7cec527a0efa552628378ebca7a8ca63bb45d.zip external_llvm-d2b7cec527a0efa552628378ebca7a8ca63bb45d.tar.gz external_llvm-d2b7cec527a0efa552628378ebca7a8ca63bb45d.tar.bz2 |
Generalize TargetData strings, to support more interesting forms of data.
Patch by Scott Michel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34266 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | lib/Target/PowerPC/PPCSubtarget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h index d8c0487..7bc2b80 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-d:32:64-l:32:64" - : "E-p:32:32-d:32:64-l:32:64"; + return isPPC64() ? "E-p:64:64-f64:32:64-i64:32:64" + : "E-p:32:32-f64:32:64-i64:32:64"; } /// isPPC64 - Return true if we are generating code for 64-bit pointer mode. |