[LLVMdev] Wrong calling convention?
evan.cheng at apple.com
Wed Mar 26 11:45:39 PDT 2008
I should note this how we do it today but it may not be the solution
In an ideal world the llvm frontend will not need to know anything
about the target since llvm is intended as a virtual instruction set.
On Mar 26, 2008, at 11:42 AM, Evan Cheng wrote:
> Take a look at llvm-gcc. Look for HandleAggregateShadowArgument.
> On Mar 26, 2008, at 10:31 AM, Óscar Fuentes wrote:
>> Óscar Fuentes <ofv at wanadoo.es> writes:
>>> BTW, -fpcc-struct-return solves the case that motivated this thread.
>> -fpcc-struct-return is an ABI change, hence it requires "compiling
>> world". Not acceptable.
>> I'll be interested on hearing ideas about how to determine how a
>> function returns a small struct, without knowing the internals of the
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
More information about the llvm-dev