Support for Aggregate Return Values

Dear All,

How well does the LLVM code generators support returns of structure types in LLVM 2.6? I'm currently writing a transform that requires functions to return multiple values and am thinking implementing it by changing the function to return a struct.

If it matters, I'm currently targeting 32-bit Linux and Mac OS X for x86.

-- John T.

returning aggregates with up to two elements will work reliably.


An update to support arbitrary-sized struct returns is awaiting final approval.

You da man! ^^

Seriously, reading this makes me very happy and I look forward to
seeing unrestricted support for struct returns in LLVM!

Thank you,