[all-commits] [llvm/llvm-project] 1b10cd: [SLP]Do not blacklist ordered-reduction operands o...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Jul 14 06:58:25 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b10cd91d12d783fe8754c100a3afaacfee3bf9f
      https://github.com/llvm/llvm-project/commit/1b10cd91d12d783fe8754c100a3afaacfee3bf9f
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/non-power-of-2-with-adjusted-gathers.ll
    M llvm/test/Transforms/SLPVectorizer/X86/control-deps-schedule-data-recalculate.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-root-multiuse-same-opcode.ll

  Log Message:
  -----------
  [SLP]Do not blacklist ordered-reduction operands on failed root attempt

An ordered reduction pulls its leaf operands into ReductionOps via the
fallback in matchAssociativeReduction. When such a reduction fails to
vectorize, marking every reduction op as analyzed also blocks those leaves,
which may still be valid reduction roots on their own.

Fixes https://github.com/llvm/llvm-project/pull/185320#issuecomment-4925949343

Reviewers: hiraditya, bababuck, RKSimon

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



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