[llvm-commits] [llvm] r76312 - /llvm/trunk/lib/Target/SystemZ/SystemZCallingConv.td

Anton Korobeynikov asl at math.spbu.ru
Sat Jul 18 05:51:36 PDT 2009


Author: asl
Date: Sat Jul 18 07:51:06 2009
New Revision: 76312

URL: http://llvm.org/viewvc/llvm-project?rev=76312&view=rev
Log:
Handle vector returns

Modified:
    llvm/trunk/lib/Target/SystemZ/SystemZCallingConv.td

Modified: llvm/trunk/lib/Target/SystemZ/SystemZCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZCallingConv.td?rev=76312&r1=76311&r2=76312&view=diff

==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZCallingConv.td (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZCallingConv.td Sat Jul 18 07:51:06 2009
@@ -17,11 +17,11 @@
   CCIfType<[i8, i16, i32], CCPromoteToType<i64>>,
 
   // i64 is returned in register R2
-  CCIfType<[i64], CCAssignToReg<[R2D]>>,
+  CCIfType<[i64], CCAssignToReg<[R2D, R3D, R4D, R5D]>>,
 
   // f32 / f64 are returned in F0
-  CCIfType<[f32], CCAssignToReg<[F0S]>>,
-  CCIfType<[f64], CCAssignToReg<[F0L]>>
+  CCIfType<[f32], CCAssignToReg<[F0S, F2S, F4S, F6S]>>,
+  CCIfType<[f64], CCAssignToReg<[F0L, F2L, F4L, F6L]>>
 ]>;
 
 //===----------------------------------------------------------------------===//





More information about the llvm-commits mailing list