[all-commits] [llvm/llvm-project] ad72da: [VPlan] Consider VPDerivedIV & VPScalarIVSteps for...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Sep 11 07:20:12 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/force-target-instruction-cost.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/scalable-vectorization-cost-tuning.ll
    M llvm/test/Transforms/LoopVectorize/force-instruction-cost.ll

  Log Message:
  -----------
  [VPlan] Consider VPDerivedIV & VPScalarIVSteps for forced costs. (#222918)

Now that we compute VPDerivedIV and VPScalarIVSteps costs directly in
VPlan, also account for them with forced costs. They never have
underlying instructions, so always add the forced cost for them.

Previously they would have been accounted for in precomputeCosts.

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



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