[all-commits] [llvm/llvm-project] 37809c: [VPlan] Support sinking VPScalarIVStepsRecipe.

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Dec 4 14:59:56 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 37809c867af5e0dc9fa677971b98f04d0b2aa15d
      https://github.com/llvm/llvm-project/commit/37809c867af5e0dc9fa677971b98f04d0b2aa15d
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-12-04 (Sun, 04 Dec 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-sink-replicate-region.ll
    M llvm/test/Transforms/LoopVectorize/float-induction.ll
    M llvm/test/Transforms/LoopVectorize/icmp-uniforms.ll
    M llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge.ll

  Log Message:
  -----------
  [VPlan] Support sinking VPScalarIVStepsRecipe.

This patch extends VP-based sinking to also sink VPScalarStepsRecipe.
This takes us a step closer towards retiring the IR based sinking.

The main change is extending VPScalarIVStepsRecipe::execute to support
executing in a replicate-region.

Depends on D133758.

Reviewed By: Ayal

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




More information about the All-commits mailing list