[PATCH] D95139: [SVE][LoopVectorize] Add support for extracting the last lane of a scalable vector

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 28 06:37:37 PST 2021


david-arm updated this revision to Diff 319853.
david-arm added a comment.

- Following @sdesmalen's suggestion I've added an enum to VPIteration that describes how we should interpret the 'Lane' member variable. This means we can support offsets from the last lane up to the known minimum number of elements.


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

https://reviews.llvm.org/D95139

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlan.cpp
  llvm/lib/Transforms/Vectorize/VPlan.h
  llvm/test/Transforms/LoopVectorize/AArch64/neon-extract-last-veclane.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-extract-last-veclane.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95139.319853.patch
Type: text/x-patch
Size: 18340 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210128/047e429f/attachment.bin>


More information about the llvm-commits mailing list