[cfe-commits] [PATCH] vecreturn attribute support
Chris Lattner
clattner at apple.com
Wed Dec 22 23:14:01 PST 2010
On Dec 22, 2010, at 7:01 PM, Sergey Epanchintsev wrote:
>
> 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.
Hi Sergey,
What is the expected use of this attribute? What functionality does it provide to an end-user? Is this something supported by other compilers?
-Chris
More information about the cfe-commits
mailing list