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

Anton Korobeynikov asl at math.spbu.ru
Thu Jul 16 07:24:58 PDT 2009


Author: asl
Date: Thu Jul 16 09:24:57 2009
New Revision: 76036

URL: http://llvm.org/viewvc/llvm-project?rev=76036&view=rev
Log:
f32/f64 regs are stored on stack if we're short in FP regs

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=76036&r1=76035&r2=76036&view=diff

==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZCallingConv.td (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZCallingConv.td Thu Jul 16 09:24:57 2009
@@ -35,12 +35,12 @@
   // integer registers.
   CCIfType<[i64], CCAssignToReg<[R2D, R3D, R4D, R5D, R6D]>>,
 
-  // The first 4 ifloating point arguments of non-varargs functions are passed
+  // The first 4 floating point arguments of non-varargs functions are passed
   // in FP registers.
   CCIfType<[f32], CCAssignToReg<[F0S, F2S, F4S, F6S]>>,
   CCIfType<[f64], CCAssignToReg<[F0L, F2L, F4L, F6L]>>,
 
   // Integer values get stored in stack slots that are 8 bytes in
   // size and 8-byte aligned.
-  CCIfType<[i64], CCAssignToStack<8, 8>>
+  CCIfType<[i64, f32, f64], CCAssignToStack<8, 8>>
 ]>;





More information about the llvm-commits mailing list