[all-commits] [llvm/llvm-project] 88e7b8: [SLP]Use TTI::getScalarizationOverhead where possible

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Feb 4 15:50:05 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 88e7b8b81c061113399637f936937ffaf5a9bc08
      https://github.com/llvm/llvm-project/commit/88e7b8b81c061113399637f936937ffaf5a9bc08
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-02-04 (Tue, 04 Feb 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/div.ll
    M llvm/test/Transforms/SLPVectorizer/X86/buildvector-with-reuses.ll
    M llvm/test/Transforms/SLPVectorizer/X86/crash_clear_undefs.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-transpose.ll
    M llvm/test/Transforms/SLPVectorizer/reduction-gather-non-scheduled-extracts.ll
    M llvm/test/Transforms/SLPVectorizer/scalarazied-result.ll

  Log Message:
  -----------
  [SLP]Use TTI::getScalarizationOverhead where possible

Better to use TTI::getScalarizationOverhead instead of
TTI::getVectorInstrCost to correctly calculate the costs of
buildvectors/extracts.

Reviewers: RKSimon

Reviewed By: RKSimon

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



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