Make the i64 and f64 be 64bit ABI aligned in the target description.
authorRoman Divacky <rdivacky@freebsd.org>
Sun, 3 Jul 2011 16:24:07 +0000 (16:24 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Sun, 3 Jul 2011 16:24:07 +0000 (16:24 +0000)
This is what both the ABI and clang says.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134367 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCSubtarget.h

index 33b21dba1ca24146a2b72fe5e40e1997fd2e3982..c89f922a5b653247d7c2551a65c84554288d3e50 100644 (file)
@@ -106,7 +106,7 @@ public:
     // 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-n32:64"
-                     : "E-p:32:32-f64:32:64-i64:32:64-f128:64:128-n32";
+                     : "E-p:32:32-f64:64:64-i64:64:64-f128:64:128-n32";
   }
 
   /// isPPC64 - Return true if we are generating code for 64-bit pointer mode.