[llvm-commits] [llvm] r134367 - /llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h
Roman Divacky
rdivacky at freebsd.org
Sun Jul 3 09:24:07 PDT 2011
Author: rdivacky
Date: Sun Jul 3 11:24:07 2011
New Revision: 134367
URL: http://llvm.org/viewvc/llvm-project?rev=134367&view=rev
Log:
Make the i64 and f64 be 64bit ABI aligned in the target description.
This is what both the ABI and clang says.
Modified:
llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h
Modified: llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h?rev=134367&r1=134366&r2=134367&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCSubtarget.h Sun Jul 3 11:24:07 2011
@@ -106,7 +106,7 @@
// 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.
More information about the llvm-commits
mailing list