Fix PR6444, note still doesn't compile libgcc2 all the way, but fixes that error...
authorAndrew Lenharth <andrewl@lenharth.org>
Wed, 3 Mar 2010 20:15:31 +0000 (20:15 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Wed, 3 Mar 2010 20:15:31 +0000 (20:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97660 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaCallingConv.td

index 38ada69c2425e51d9ade476308c7d0824e554f55..bde8819f46e49e5f864d59efc5eb74fc6c00ca88 100644 (file)
@@ -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]>>