[LLVMdev] ARM eabi calling convention

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Aug 8 13:29:01 PDT 2012


> Which is how llvm-gcc lowered this. This is a clang bug.
>
>> Probably all the "alignment" logic needs to be moved upper to frontend...
>
> There have been several proposals to unify all this argument passing
> logic, but most have focused on doing it later in the backend.

A long time ago I did this for ppc on llvm-gcc by adding dummy
arguments when passing in registers. When passing on the stack byval
can take an alignment.

> deep

Cheers,
Rafael



More information about the llvm-dev mailing list