[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
Fri Feb 19 09:05:48 PST 2021


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

- Renamed and removed some interfaces.
- Removed default case in getAsRuntimeExpr, but had to add llvm_unreachable() as a result in order to kill the resulting compiler warning.
- Add VPLane::getLastLaneForVF().


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/sve-extract-last-veclane.ll
  llvm/test/Transforms/LoopVectorize/extract-last-veclane.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95139.325002.patch
Type: text/x-patch
Size: 21119 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210219/a1312761/attachment.bin>


More information about the llvm-commits mailing list