From: Evan Cheng Date: Mon, 22 Jan 2007 23:11:06 +0000 (+0000) Subject: Double and long preferred alignment set to 8 bytes. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=74fc22d484f053908c12861bae82a6460b00326c;p=oota-llvm.git Double and long preferred alignment set to 8 bytes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33447 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h index de17c621bb3..d8c04871f56 100644 --- a/lib/Target/PowerPC/PPCSubtarget.h +++ b/lib/Target/PowerPC/PPCSubtarget.h @@ -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.