[all-commits] [llvm/llvm-project] 97590b: [LV] Widen ptr-inductions with scalar uses for sca...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun May 22 08:24:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 97590baead08932327b8a4ac2edf4b86628270cc
      https://github.com/llvm/llvm-project/commit/97590baead08932327b8a4ac2edf4b86628270cc
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-05-22 (Sun, 22 May 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    A llvm/test/Transforms/LoopVectorize/AArch64/sve-live-out-pointer-induction.ll

  Log Message:
  -----------
  [LV] Widen ptr-inductions with scalar uses for scalable VFs.

Current codegen only supports scalarization of pointer inductions for
scalable VFs if they are uniform. After 3bebec659 we now may enter the
scalarization code path in VPWidenPointerInductionRecipe::execute for
scalable vectors.

Fall back to widening for scalable vectors if necessary.

This should fix a build failure when bootstrapping LLVM with SVE, e.g.
https://lab.llvm.org/buildbot/#/builders/176/builds/1723




More information about the All-commits mailing list