[LLVMdev] Structs as first class values.

Richard Pennington rich at pennware.com
Sun Jul 20 10:59:01 PDT 2008


Chris Lattner wrote:
> On Jul 20, 2008, at 6:25 AM, Richard Pennington wrote:
> Yes, that is supposed to work in theory.  In practice, most targets  
> only support returning up to two values in registers.  Eventually, we  
> want the code generator to support returning excess return values on  
> the stack, but we don't have that code yet.

Thanks for the info. Is the intention to implement this in an ABI 
compatible manner? That is, pass the address to put the return value as 
a hidden first parameter, for example?

-Rich



More information about the llvm-dev mailing list