[all-commits] [llvm/llvm-project] 5f1eb7: [VPlan] Place VPExpandSCEVRecipe in pre-header.

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Apr 10 01:28:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f1eb7485077eb295fc17568c0abcf7799b0ade8
      https://github.com/llvm/llvm-project/commit/5f1eb7485077eb295fc17568c0abcf7799b0ade8
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-04-10 (Sun, 10 Apr 2022)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/vplan-printing.ll

  Log Message:
  -----------
  [VPlan] Place VPExpandSCEVRecipe in pre-header.

After D121624 models the pre-header in VPlan, VPExpandSCEVRecipes can be
placed there. This ensures SCEV expansion happens before modifying the
CFG during VPlan execution, when CFG is incomplete.

Depends on D121624.

Reviewed By: Ayal

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




More information about the All-commits mailing list