Double and long preferred alignment set to 8 bytes.
authorEvan Cheng <evan.cheng@apple.com>
Mon, 22 Jan 2007 23:11:06 +0000 (23:11 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Mon, 22 Jan 2007 23:11:06 +0000 (23:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33447 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCSubtarget.h

index de17c621bb3cef559185a227d166a1adc5a0999f..d8c04871f56529bee1ebfb667dfbf67a0ce5f76f 100644 (file)
@@ -104,7 +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-l:32" : "E-p:32:32-d:32-l:32";
+    return isPPC64() ? "E-p:64:64-d:32:64-l:32:64"
+                     : "E-p:32:32-d:32:64-l:32:64";
   }
 
   /// isPPC64 - Return true if we are generating code for 64-bit pointer mode.