[PATCH] D76373: [LV] Replace stored value with a VPValue (NFCI)

Gil Rapaport via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 18 10:52:40 PDT 2020


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

InnerLoopVectorizer's code called during VPlan execution still relies on original IR's def-use relations to decide which vector code to generate,
limiting VPlan transformations ability to modify def-use relations and still have ILV generate the vector code.
This patch introduces a VPValue for VPWidenMemoryInstructionRecipe to use as the stored value. The recipe is generated with a VPValue wrapping the stored value of the scalar store.
This reduces ingredient def-use usage by ILV as a step towards full VPlan-based def-use relations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76373

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76373.251120.patch
Type: text/x-patch
Size: 6151 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200318/2cf14238/attachment.bin>


More information about the llvm-commits mailing list