[LLVMdev] Header in bitcode format 3.0?
Duncan Sands
baldrick at free.fr
Thu May 12 01:13:46 PDT 2011
Hi Sandeep,
>> The ARM backend now supports struct byval for APCS. Extending it to support AAPCS shouldn't be too difficult. Alas, I won't have time to revisit this in the near future.
>
> It's slightly unclear to me what byval means for an ABI that passes
> some structs in registers, such as AAPCS-VFP.
I think in that case the front-end is supposed to extract the bits passed in
registers and pass them as registers (i.e. as float/integer parameters) and
pass the rest of the struct (i.e. the bit that is passed on the stack) as a
byval parameter.
Ciao, Duncan.
More information about the llvm-dev
mailing list