[llvm-commits] [llvm] r57368 - /llvm/trunk/lib/Target/Sparc/SparcCallingConv.td
Anton Korobeynikov
asl at math.spbu.ru
Fri Oct 10 14:47:43 PDT 2008
Author: asl
Date: Fri Oct 10 16:47:37 2008
New Revision: 57368
URL: http://llvm.org/viewvc/llvm-project?rev=57368&view=rev
Log:
Fix a thinko and unbreak sparc default CC
Modified:
llvm/trunk/lib/Target/Sparc/SparcCallingConv.td
Modified: llvm/trunk/lib/Target/Sparc/SparcCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/SparcCallingConv.td?rev=57368&r1=57367&r2=57368&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/SparcCallingConv.td (original)
+++ llvm/trunk/lib/Target/Sparc/SparcCallingConv.td Fri Oct 10 16:47:37 2008
@@ -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.
More information about the llvm-commits
mailing list