[all-commits] [llvm/llvm-project] fa9397: [SLP]Pair small sign-aware reduction groups only i...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Sep 23 11:34:18 PDT 2026


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/fsub-chain-reduction-unpaired-signs.ll

  Log Message:
  -----------
  [SLP]Pair small sign-aware reduction groups only if both signs have one

The small-group check of the flattened fsub/fneg fadd reductions
used whenever any leaf was negated, vectorizing 2-wide parts that
have no opposite-sign part to combine with via the vector fsub.
Allow it only if both signs have a group of at least 2 values.

Reviewers: 

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



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