[LLVMdev] LLVM 2.6 and Aggregate Return Values: ARM

Kenneth Uildriks kennethuil at gmail.com
Wed Jan 20 06:13:11 PST 2010


On Wed, Jan 20, 2010 at 7:20 AM, Jon Harrop <jon at ffconsultancy.com> wrote:
> On Wednesday 20 January 2010 10:07:13 Duncan Sands wrote:
>> Hi John,
>>
>> > How well does LLVM 2.6 support aggregate return values for 64 bit
>> > targets?  I'm currently working on 64 bit Mac OS X and 64 bit Linux.
>> > Are there any known problems or limitations?
>>
>> on x86-64 it depends on what you are returning, but for example you
>> should be able to return a 128 bit integer fine, but anything more
>> will cause the code generator blow up.  This limitation has been
>> removed in the development version.
>
> I'm just curious but does this also work limitlessly on ARM?

Not yet, as far as I know.  There is a small target-specific hook that
needs to be implemented, and I've only done so for x86 since it's the
only machine I own.  As far as I know, no one has stepped up to fill
in the hook for other processors.




More information about the llvm-dev mailing list