[PATCH] D68577: [LV] Apply sink-after & interleave-groups as VPlan transformations (NFC)

Gil Rapaport via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 7 07:40:01 PDT 2019


gilr created this revision.
gilr added reviewers: hsaito, rengolin, dcaballe, fhahn, Ayal.
Herald added subscribers: llvm-commits, psnobl, rogfer01, rkruppe, tschuett, bollu, hiraditya.
Herald added a project: LLVM.

The sink-after and interleave-group vectorization decisions were so far applied to VPlan during initial VPlan construction, which complicates VPlan construction – also because of
their inter-dependence.
This patch refactors buildVPlanWithRecipes() to construct a simpler initial VPlan and later apply both these vectorization decisions, in order, as VPlan-to-VPlan
transformations.


Repository:
  rL LLVM

https://reviews.llvm.org/D68577

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68577.223600.patch
Type: text/x-patch
Size: 21081 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191007/0d26c346/attachment.bin>


More information about the llvm-commits mailing list