From: Anton Korobeynikov Date: Thu, 16 Jul 2009 14:11:03 +0000 (+0000) Subject: Unbreak calls to vararg functions X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=6f66f0556c843877dd24d33341cc5129105b31fc;p=oota-llvm.git Unbreak calls to vararg functions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75993 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/SystemZ/SystemZCallingConv.td b/lib/Target/SystemZ/SystemZCallingConv.td index 34670467f1c..88ff46ff29a 100644 --- a/lib/Target/SystemZ/SystemZCallingConv.td +++ b/lib/Target/SystemZ/SystemZCallingConv.td @@ -29,9 +29,7 @@ def CC_SystemZ : CallingConv<[ // The first 5 integer arguments of non-varargs functions are passed in // integer registers. - // FIXME: Check stuff for varagrs - CCIfNotVarArg>>, + CCIfType<[i64], CCAssignToReg<[R2D, R3D, R4D, R5D, R6D]>>, // Integer values get stored in stack slots that are 8 bytes in // size and 8-byte aligned.