diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-10-10 21:47:37 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-10-10 21:47:37 +0000 |
commit | 875314bb529c9208e9e8dedec90f1e4a966442e9 (patch) | |
tree | ffd6fffb5e8e818843ed7b2a92d74d98acfd6972 /lib/Target/Sparc | |
parent | 8b1e0549389e4c360ac95f50da95d5009553b447 (diff) | |
download | external_llvm-875314bb529c9208e9e8dedec90f1e4a966442e9.zip external_llvm-875314bb529c9208e9e8dedec90f1e4a966442e9.tar.gz external_llvm-875314bb529c9208e9e8dedec90f1e4a966442e9.tar.bz2 |
Fix a thinko and unbreak sparc default CC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57368 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc')
-rw-r--r-- | lib/Target/Sparc/SparcCallingConv.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/Sparc/SparcCallingConv.td b/lib/Target/Sparc/SparcCallingConv.td index 37b59b2..33ecfdf 100644 --- a/lib/Target/Sparc/SparcCallingConv.td +++ b/lib/Target/Sparc/SparcCallingConv.td @@ -18,8 +18,8 @@ // Sparc 32-bit C return-value convention. def RetCC_Sparc32 : CallingConv<[ CCIfType<[i32], CCAssignToReg<[I0, I1, I2, I3, I4, I5]>>, - CCIfType<[f32], CCAssignToReg<[F1, F3, F5, F7]>>, - CCIfType<[f64], CCAssignToReg<[D0, D2]>> + CCIfType<[f32], CCAssignToReg<[F0, F1, F2, F3]>>, + CCIfType<[f64], CCAssignToReg<[D0, D1]>> ]>; // Sparc 32-bit C Calling convention. |