[Patch]SLP vectorization on tiny fully vectorizable tree

Yi Jiang yjiang at apple.com
Wed Oct 2 09:54:58 PDT 2013


Hi,

In the original slp vectorizer, we do not handle tiny tree (height less than 3) and expect that the backend could combine. However, the backend can not handle cases below due to lack of alias information; we have global alias analysis in backend but it is not enable in all back end:
{
   // we know dest does not alias to src
   dest[0] = src[0];
   dest[1] = src[1];
}

In this patch, we will enable slp vectorization on tinny fully vectorizable tree like that.  


-------------- next part --------------
A non-text attachment was scrubbed...
Name: slp-tinytree.patch
Type: application/octet-stream
Size: 9402 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131002/ca8103a0/attachment.obj>
-------------- next part --------------



More information about the llvm-commits mailing list