[PATCH] D157484: [VPlan] Support scalable vectors in outer-loop vectorization

Lou via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 9 02:25:09 PDT 2023


iamlouk created this revision.
iamlouk added reviewers: fhahn, Ayal, ABataev, nikolaypanchenko.
Herald added subscribers: StephenFan, tschuett, psnobl, rogfer01, bollu, hiraditya.
Herald added a project: All.
iamlouk requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, alextsao1999, vkmr.
Herald added a project: LLVM.

This patch enables scalable vectors in the VPlan-native path.
If a vectorization factor is specified via loop vectorization hints,
that factor is used. If no vectorization factor is specified, but the
target preferes scalable vectorization, a scalable vectorization factor
is selected.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157484

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/outer_loop_prefer_scalable.ll
  llvm/test/Transforms/LoopVectorize/outer_loop_scalable.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157484.548527.patch
Type: text/x-patch
Size: 20470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230809/a7c6d7f7/attachment.bin>


More information about the llvm-commits mailing list