[LLVMdev] LLVM 2.6 and Aggregate Return Values: 64 bit

Duncan Sands baldrick at free.fr
Wed Jan 20 02:07:13 PST 2010


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.

Ciao,

Duncan.



More information about the llvm-dev mailing list