[PATCH] D70865: [LV] VPValues for memory operation pointers (NFCI)

Gil Rapaport via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 29 11:51:53 PST 2019


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

Memory instruction widening recipes use the pointer operand of their load/store ingredient for generating the needed GEPs, making it difficult to feed these
recipes with pointers based on other ingredients or none at all.
This patch modifies these recipes to use a VPValue for the pointer instead, in order to reduce ingredient def-use usage by ILV as a step towards full VPlan-based def-use relations. The recipes are constructed with VPValues bound to these ingredients, maintaining current behavior.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70865

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70865.231570.patch
Type: text/x-patch
Size: 18105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191129/713d85f8/attachment.bin>


More information about the llvm-commits mailing list