[PATCH] D48725: [SLP] Vectorize bit-parallel operations with SWAR.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 2 04:52:58 PDT 2018


courbet added a comment.

In https://reviews.llvm.org/D48725#1147990, @courbet wrote:

> In https://reviews.llvm.org/D48725#1147898, @ABataev wrote:
>
> >
>




>> 2. You need to update the cost model for this kind of transformation.
> 
> Thanks. This is my first change to the SLP vectorizer, do you have any pointers to documentation on how to do this ?

Actually since I only do load/store now I think this already covers it: `X86TTIImpl::getMemoryOpCost`. Am I right ?


Repository:
  rL LLVM

https://reviews.llvm.org/D48725





More information about the llvm-commits mailing list