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

Anton Korobeynikov anton at korobeynikov.info
Wed Jul 25 00:46:28 PDT 2012


> 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. Everything
looks pretty clear - the address of the object to return is passed in
register rather than on stack.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list