[all-commits] [llvm/llvm-project] c83fdc: [LV] Perform recurrence sinking directly on VPlan.

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Feb 8 07:50:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c83fdc905a655b1354a2b4d3d23f4b7d63e02777
      https://github.com/llvm/llvm-project/commit/c83fdc905a655b1354a2b4d3d23f4b7d63e02777
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
    M llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll

  Log Message:
  -----------
  [LV] Perform recurrence sinking directly on VPlan.

This patch updates LV to sink recipes directly using the VPlan use
chains. The initial patch only moves sinking to be purely VPlan-based.
Follow-up patches will move legality checks to VPlan as well.

At the moment, there's a single test failure remaining.

Reviewed By: Ayal

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




More information about the All-commits mailing list