[cfe-commits] [PATCH] vecreturn attribute support

Sergey Epanchintsev sepanchintsev at accesssoftek.com
Wed Dec 22 19:01:27 PST 2010


Hello everyone,

Please review the attached patch.

It adds vecreturn attribute functionality to get a single element structure
or class (declared with 'vecreturn' attribute) compiled to IR so it  will be
returned by value.

I have unit tests but will submit them with a separate patch - I want to
keep my first patch small and clean. :)

As a headsup; I will submit a patch for SemaDeclAttr.cpp to support
vecreturn with C++ classes after this patch will be accepted.

Cheers,
Sergey.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vecreturn-patch.diff
Type: application/octet-stream
Size: 7161 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101223/233c4352/attachment.obj>


More information about the cfe-commits mailing list