diff options
author | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2007-04-03 10:27:07 +0000 |
---|---|---|
committer | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2007-04-03 10:27:07 +0000 |
commit | ef3c030e0e08b7d9446445823f4972fcf18c1ce1 (patch) | |
tree | d93d882b1743ab69d6d8b077b7c9b4e4c5fb66fb /lib/Target/PowerPC/PPCCallingConv.td | |
parent | d0b08799491f965582e591c65c33fcefe5e430f9 (diff) | |
download | llvm-ef3c030e0e08b7d9446445823f4972fcf18c1ce1.tar.gz llvm-ef3c030e0e08b7d9446445823f4972fcf18c1ce1.tar.bz2 llvm-ef3c030e0e08b7d9446445823f4972fcf18c1ce1.tar.xz |
The ELF ABI specifies F1-F8 registers as argument registers for double, not
F1-F10. This affects only ELF, not MachO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCCallingConv.td')
-rw-r--r-- | lib/Target/PowerPC/PPCCallingConv.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCCallingConv.td b/lib/Target/PowerPC/PPCCallingConv.td index 2b69d46bab..b75ec40f6f 100644 --- a/lib/Target/PowerPC/PPCCallingConv.td +++ b/lib/Target/PowerPC/PPCCallingConv.td @@ -44,8 +44,8 @@ def CC_PPC : CallingConv<[ // Darwin passes FP values in F1 - F13 CCIfType<[f32, f64], CCIfSubtarget<"isMachoABI()", CCAssignToReg<[F1, F2, F3, F4, F5, F6, F7, F8,F9,F10,F11,F12,F13]>>>, - // Other sub-targets pass FP values in F1-10. - CCIfType<[f32, f64], CCAssignToReg<[F1, F2, F3, F4, F5, F6, F7, F8, F9,F10]>>, + // Other sub-targets pass FP values in F1-F8. + CCIfType<[f32, f64], CCAssignToReg<[F1, F2, F3, F4, F5, F6, F7, F8]>>, // The first 12 Vector arguments are passed in altivec registers. CCIfType<[v16i8, v8i16, v4i32, v4f32], |