[llvm-commits] Correctly handle sret attributes

Anton Korobeynikov asl at math.spbu.ru
Fri Mar 30 14:45:52 PDT 2007


Hello, Everyone.

Attached patch will correctly set "sret" attribute for functions like:
'struct foo bar(void)'  or 'struct foo bar()'. Testcase is attached.

-- 
With best regards, Anton Korobeynikov.

Faculty of Mathematics & Mechanics, Saint Petersburg State University.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sret.diff
Type: text/x-patch
Size: 1591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070331/4a7a6217/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sret.c
Type: text/x-csrc
Size: 236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070331/4a7a6217/attachment.c>


More information about the llvm-commits mailing list