[all-commits] [llvm/llvm-project] fd2de1: [SLP]Drop unprofitable splat subtrees before the p...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Sep 22 11:41:56 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd2de19555b060c6f813841f2e25825ad53eab40
      https://github.com/llvm/llvm-project/commit/fd2de19555b060c6f813841f2e25825ad53eab40
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-loop-extracts.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-minbw.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-satd.ll
    M llvm/test/Transforms/SLPVectorizer/AArch64/splat-gather-subtree-trim-revert-cost.ll

  Log Message:
  -----------
  [SLP]Drop unprofitable splat subtrees before the profitability trim

Their reuse pricing distorts the main tree's trim decisions; price the
restored tree from per-node costs on revert instead of incrementally.

Reviewers: bababuck, RKSimon

Pull Request: https://github.com/llvm/llvm-project/pull/224470



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