[llvm-commits] [llvm] r97660 - /llvm/trunk/lib/Target/Alpha/AlphaCallingConv.td

alenhar2 at llvm.org alenhar2 at llvm.org
Wed Mar 3 12:15:31 PST 2010


Author: alenhar2
Date: Wed Mar  3 14:15:31 2010
New Revision: 97660

URL: http://llvm.org/viewvc/llvm-project?rev=97660&view=rev
Log:
Fix PR6444, note still doesn't compile libgcc2 all the way, but fixes that error.  May not fix it in an ABI complient way.  It wasn't clear what gcc does

Modified:
    llvm/trunk/lib/Target/Alpha/AlphaCallingConv.td

Modified: llvm/trunk/lib/Target/Alpha/AlphaCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaCallingConv.td?rev=97660&r1=97659&r2=97660&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaCallingConv.td (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaCallingConv.td Wed Mar  3 14:15:31 2010
@@ -14,7 +14,8 @@
 //===----------------------------------------------------------------------===//
 def RetCC_Alpha : CallingConv<[
   // i64 is returned in register R0
-  CCIfType<[i64], CCAssignToReg<[R0]>>,
+  // R1 is an llvm extension, I don't know what gcc does
+  CCIfType<[i64], CCAssignToReg<[R0,R1]>>,
 
   // f32 / f64 are returned in F0/F1
   CCIfType<[f32, f64], CCAssignToReg<[F0, F1]>>





More information about the llvm-commits mailing list