Make the i64 and f64 be 64bit ABI aligned in the target description.

This is what both the ABI and clang says.

llvm-svn: 134367
This commit is contained in:
Roman Divacky 2011-07-03 16:24:07 +00:00
parent bb2f28f41c
commit 075491f2cd
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ public:
// Note, the alignment values for f64 and i64 on ppc64 in Darwin // Note, the alignment values for f64 and i64 on ppc64 in Darwin
// documentation are wrong; these are correct (i.e. "what gcc does"). // 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" 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. /// isPPC64 - Return true if we are generating code for 64-bit pointer mode.