[all-commits] [llvm/llvm-project] a0e19c: [SLP][NFC] Make calculateTreeCostAndTrimNonProfita...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Apr 13 15:53:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0e19ca0f4c549582bb2ab7ed66866a7a3de16f3
      https://github.com/llvm/llvm-project/commit/a0e19ca0f4c549582bb2ab7ed66866a7a3de16f3
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-04-13 (Mon, 13 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP][NFC] Make calculateTreeCostAndTrimNonProfitable compatible

with processBuildVector, NFC

processBuildVector adjusts the scalars to match the entry vector factor,
while calculateTreeCostAndTrimNonProfitable does not. Sync the behovior
  to avoid potential issues. Currently it does not affect the cost
  estimations, so it is NFC.

Reviewers: 

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



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