[LLVMdev] First-class aggregate semantics

Alastair Lynn arplynn at gmail.com
Thu Jan 7 18:03:32 PST 2010


Hi Dustin-

You'll probably need to use insertvalue to construct your return value.

Alastair

On 7 Jan 2010, at 21:56, Dustin Laurence wrote:
>    define %Token @foo()
>    {
>        ...
> 
>        ret %Token {%c_int %token, %i8* %value}
>    }




More information about the llvm-dev mailing list