[llvm-commits] [llvm] r160695 - in /llvm/trunk: include/llvm/Attributes.h test/CodeGen/X86/inreg.ll

Duncan Sands baldrick at free.fr
Wed Jul 25 00:48:14 PDT 2012


Hi Anton,

On 25/07/12 09:46, Anton Korobeynikov wrote:
>> Hi Rafael, are you sure that this is correct?  Sret has some pretty funky
>> semantics.  What is the effect of this on generated code and ABI
>> conformance?
> There is no effect on ABI since regparm is GCC extension.

an alternative way of stating the question: does it do the same as GCC?

  Everything
> looks pretty clear - the address of the object to return is passed in
> register rather than on stack.

And the special sret stack adjustments no longer happen?

Ciao, Duncan.




More information about the llvm-commits mailing list