[all-commits] [llvm/llvm-project] 076318: [SLP]Use proper order when calculating costs for g...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Apr 9 07:50:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 076318bd78f5ed338350841075316a75d89ecd9b
      https://github.com/llvm/llvm-project/commit/076318bd78f5ed338350841075316a75d89ecd9b
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-04-09 (Wed, 09 Apr 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/AArch64/reordered-loads.ll

  Log Message:
  -----------
  [SLP]Use proper order when calculating costs for geps/extracts to correctly identify profitability

Need to reorder properly the scalars, when evaluating the costs for the
external uses/geps to prevent differences in the calculating of the
profitability costs, used to choose between gather/compressed loads.

Fixes https://github.com/llvm/llvm-project/pull/132099#issuecomment-2789627454



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