[all-commits] [llvm/llvm-project] 852bac: [VPlan] Support scalable vectors in outer-loop vec...

Lou via All-commits all-commits at lists.llvm.org
Fri Oct 20 15:18:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 852bac4439010a479fb141942f2d3f1ff503996f
      https://github.com/llvm/llvm-project/commit/852bac4439010a479fb141942f2d3f1ff503996f
  Author: Lou Knauer <lou.knauer at sipearl.com>
  Date:   2023-10-20 (Fri, 20 Oct 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/AArch64/outer_loop_prefer_scalable.ll
    A llvm/test/Transforms/LoopVectorize/outer_loop_scalable.ll

  Log Message:
  -----------
  [VPlan] Support scalable vectors in outer-loop vectorization

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.

Reviewed By: fhahn

Differential Revision: https://reviews.llvm.org/D157484




More information about the All-commits mailing list