[all-commits] [llvm/llvm-project] f0e125: [LV] Use forced cost once for whole interleave gro...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Dec 2 13:40:16 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f0e1254bce44b85bdeb14fb5318163dab72ccff6
      https://github.com/llvm/llvm-project/commit/f0e1254bce44b85bdeb14fb5318163dab72ccff6
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-12-02 (Tue, 02 Dec 2025)

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

  Log Message:
  -----------
  [LV] Use forced cost once for whole interleave group in legacy costmodel (#168270)

The VPlan-based cost model assigns the forced cost once for a whole
VPInterleaveRecipe. Update the legacy cost model to match this behavior.
This fixes a cost-model divergence, and assigns the cost in a way that
matches the generated code more accurately.

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



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