[PATCH] Fix PR15131

Chandler Carruth chandlerc at google.com
Thu Mar 7 01:29:33 PST 2013


On Wed, Mar 6, 2013 at 4:33 PM, Nadav Rotem <nrotem at apple.com> wrote:

> I think that SROA assumes that vector operands are not bitpacked.
>

Er, no, it follows the langref which says that vectors are bit packed.


> Can you check if we can SROA the packed vectors ?
>

As a consequence of the above, it only splits (or forms) vectors of
elements whose element bit sizes are multiples 8. This allows it to handle
most common cases without complex logic to deal with bitpacking of
unusually sized vectors. See lines 1717 - 1733 and 1971 - 1977 in SROA.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130307/92705416/attachment.html>


More information about the llvm-commits mailing list