[PATCH] D19501: Add LoadStoreVectorizer pass

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 15:18:21 PDT 2016


arsenm added a comment.

In http://reviews.llvm.org/D19501#411387, @mzolotukhin wrote:

> Why can't that be achieved by SLP vectorizer?
>
> Michael


The SLPVectorizer is concerned with forming all vectors. It will give up if it can't vectorize all downstream scalar operations fed by the loads. On GPUs that only have vector loads, and all other operations are scalar, this isn't desirable. At best the vectors are formed just to be scalarized during legalization.


http://reviews.llvm.org/D19501





More information about the llvm-commits mailing list