summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCSubtarget.h
diff options
context:
space:
mode:
authorRoman Divacky <rdivacky@freebsd.org>2011-07-03 16:24:07 +0000
committerRoman Divacky <rdivacky@freebsd.org>2011-07-03 16:24:07 +0000
commitb272332e6120413b13dcaef7a5415783a99df073 (patch)
treec208a047c47ff2006cefa2b66f57cdba0ebbe1e6 /lib/Target/PowerPC/PPCSubtarget.h
parent7495ea7fe9dd018dc1d0e4b18d30b279f3b2dc77 (diff)
downloadllvm-b272332e6120413b13dcaef7a5415783a99df073.tar.gz
llvm-b272332e6120413b13dcaef7a5415783a99df073.tar.bz2
llvm-b272332e6120413b13dcaef7a5415783a99df073.tar.xz
Make the i64 and f64 be 64bit ABI aligned in the target description.
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
Diffstat (limited to 'lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCSubtarget.h b/lib/Target/PowerPC/PPCSubtarget.h
index 33b21dba1c..c89f922a5b 100644
--- a/lib/Target/PowerPC/PPCSubtarget.h
+++ b/lib/Target/PowerPC/PPCSubtarget.h
@@ -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.