[PATCH] D148388: [LV] Model stride in VPWidenMemoryInstructionRecipe [nfc]

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 15:27:39 PDT 2023


reames created this revision.
reames added reviewers: fhahn, Ayal.
Herald added subscribers: StephenFan, rogfer01, bollu, hiraditya, mcrosier.
Herald added a project: All.
reames requested review of this revision.
Herald added subscribers: pcwang-thead, vkmr.
Herald added a project: LLVM.

We currently allow two strides 1 for consecutive accesses, and -1 for reverse consecutive access.  In the near future, I want to add support for other constant strides, and getting the API worked through simplifies that work.  This is admittedly somewhat debatable on its own merits as an NFC, but I figured I'd put it out and see what reviewers thought.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148388

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148388.513769.patch
Type: text/x-patch
Size: 8866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230414/ec536ceb/attachment.bin>


More information about the llvm-commits mailing list