[PATCH] D149479: [LV] Enable scalable outer loop vectorization

Kolya Panchenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 13:05:39 PDT 2023


nikolaypanchenko created this revision.
Herald added subscribers: luke, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, bollu, rbar, asb, hiraditya.
Herald added a project: All.
nikolaypanchenko requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead, alextsao1999, vkmr, MaskRay.
Herald added a project: LLVM.

The changeset allows VLA outer loop vectorization as well as

- fixes incorrect handling of a loopnest during HCFG VPlan construction
- adds vec remark when outer loop was successfully vectorized


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D149479

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
  llvm/test/Transforms/LoopVectorize/RISCV/outer_loop_scalable.ll
  llvm/test/Transforms/LoopVectorize/X86/outer_loop_no_scalable.ll
  llvm/test/Transforms/LoopVectorize/outer_loop_test3.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149479.518029.patch
Type: text/x-patch
Size: 21249 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230428/395c95ac/attachment-0001.bin>


More information about the llvm-commits mailing list