[all-commits] [llvm/llvm-project] 20675e: [SLP] Check all copyable children for non-schedula...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Tue Oct 21 06:40:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 20675ee67d048a42482c246e25b284637d55347c
      https://github.com/llvm/llvm-project/commit/20675ee67d048a42482c246e25b284637d55347c
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-10-21 (Tue, 21 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/non-schedulable-parent-multi-copyables.ll

  Log Message:
  -----------
  [SLP] Check all copyable children for non-schedulable parent nodes

If the parent node is non-schedulable and it includes several copies of
the same instruction, its operand might be replaced by the copyable
nodes in multiple children nodes, and if the instruction is commutative,
they can be used in different operands. The compiler shall consider this
opportunity, taking into account that non-copyable children are
scheduled only ones for the same parent instruction.

Fixes #164242



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