[all-commits] [llvm/llvm-project] 236a0e: [LV] Use VPValue to get expanded value for SCEV st...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu May 11 08:49:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 236a0e82df37d3a11f57c34df43bea1904a29530
      https://github.com/llvm/llvm-project/commit/236a0e82df37d3a11f57c34df43bea1904a29530
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-05-11 (Thu, 11 May 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/create-induction-resume.ll
    M llvm/test/Transforms/LoopVectorize/pointer-induction-unroll.ll
    M llvm/test/Transforms/LoopVectorize/pointer-induction.ll
    M llvm/test/Transforms/LoopVectorize/pr58811-scev-expansion.ll

  Log Message:
  -----------
  [LV] Use VPValue to get expanded value for SCEV step expressions.

Update skeleton creation logic to use SCEV expansion results from
expanding the pre-header. This avoids another set of SCEV expansions
that may happen after the CFG has been modified.

Fixes #58811.

Depends on D147964.

Reviewed By: Ayal

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




More information about the All-commits mailing list