[all-commits] [llvm/llvm-project] dacf8c: [VPlan] Cost scalar IV steps in replicate regions....

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Sep 9 07:55:53 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dacf8ccb5880d9c890db86bb1885e0eb22bc3649
      https://github.com/llvm/llvm-project/commit/dacf8ccb5880d9c890db86bb1885e0eb22bc3649
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/induction-costs-sve.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalar-steps-cost.ll
    M llvm/test/Transforms/LoopVectorize/X86/CostModel/store-scalarization-cost.ll

  Log Message:
  -----------
  [VPlan] Cost scalar IV steps in replicate regions. (#221995)

Replace the return 0 bail-out in VPScalarIVStepsRecipe::computeCost in
replicate regions by properly scaling by the execution probability of
the region.

PR: https://github.com/llvm/llvm-project/pull/221995



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list