[llvm-commits] [PATCH]: ppc32 va_arg() implementation

Eli Friedman eli.friedman at gmail.com
Tue Jun 14 12:59:18 PDT 2011


On Tue, Jun 14, 2011 at 12:47 PM, Roman Divacky <rdivacky at freebsd.org> wrote:
> Hi,
>
> the attached patch implements va_arg() lowering on ppc32.
> Ints (8, 16, 32 and also 64 bits that need special treatment) work,
> floats don't work (neither with gcc - we should warn when someone tries
> to use them on ppc32 probably), doubles do work.

It's impossible to make any C frontend generate a call to a varargs
function that actually passes in something of type "float"... are you
sure you're testing correctly?

-Eli



More information about the llvm-commits mailing list