Displaying 2 results from an estimated 2 matches for "uildricks".
2010 Mar 02
0
[LLVMdev] Pass and return of large objects
...just echoing previous discussion, and you can probably get a more
>> reliable answer by finding the original discussion in the archives.
>
> I don't suppose you've any idea what search keywords might work?
I searched "sret" which found most of the discussion. Kenneth
Uildricks wrote the support for lowering large struct returns on x86
to a hidden sret parameter in accordance with the x86 ABI, but no one
has stepped forward to add support for other targets.
Reid
2010 Mar 02
2
[LLVMdev] Pass and return of large objects
On Mon, Mar 1, 2010 at 7:39 PM, Reid Kleckner <rnk at mit.edu> wrote:
> IIRC they lower it themselves, doing whatever the ABI says they
> should, which is usually adding a hidden sret parameter to the
> function once you get beyond small structs.
Okay, so we seem to be saying sret or suchlike is how you pass and
return large objects by value in LLVM.
What exactly counts as large?