Fix PR15293: ARM codegen ice - expected larger existing stack allocation

Renato Golin renato.golin at linaro.org
Sat Apr 27 14:46:13 PDT 2013


On 27 April 2013 08:39, Stepan Dyatkovskiy <stpworld at narod.ru> wrote:

> * VarArg function uses the same regulations for parameter passing as
> regular ones (5.5 Parameters Passing).
>

You're absolutely right.

Last time I did this I was making AAPCS VFP work, making sure parameters
would gon into GPRs, not VFP ones for variadic functions. Somehow I got
confused and thought that they always went on the stack, not GPRs. Ignore
me.

However, you don't have to waste the registers that are not used because of
alignment. You can still use them as scratch registers, since they'll never
be used for argument passing anyway.

cheers,
--renato
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130427/a6359d21/attachment.html>


More information about the llvm-commits mailing list