[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCSubtarget.h

Evan Cheng evan.cheng at apple.com
Mon Jan 22 15:11:22 PST 2007



Changes in directory llvm/lib/Target/PowerPC:

PPCSubtarget.h updated: 1.22 -> 1.23
---
Log message:

Double and long preferred alignment set to 8 bytes.

---
Diffs of the changes:  (+2 -1)

 PPCSubtarget.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCSubtarget.h
diff -u llvm/lib/Target/PowerPC/PPCSubtarget.h:1.22 llvm/lib/Target/PowerPC/PPCSubtarget.h:1.23
--- llvm/lib/Target/PowerPC/PPCSubtarget.h:1.22	Thu Jan 18 22:36:02 2007
+++ llvm/lib/Target/PowerPC/PPCSubtarget.h	Mon Jan 22 17:11:06 2007
@@ -104,7 +104,8 @@
   /// 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.






More information about the llvm-commits mailing list