[PATCH] D92701: [SLPVectorize] Call isLegalMaskedGather before creating a gather TreeEntry

Anton Afanasyev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 5 03:01:15 PST 2020


anton-afanasyev added a comment.

I'm agree with @fhahn -- tuning cost model is more right way. Also it could be the case of arch where gathers are missing but it's beneficial to use them for vectorization tree building. They are lowered to scalarized instrs further.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92701/new/

https://reviews.llvm.org/D92701



More information about the llvm-commits mailing list