[all-commits] [llvm/llvm-project] cb648b: [SLP]Check if the user node has instructions, used...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu May 29 10:10:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb648ba97003bc0aa94e86f8e89ea6e3e3d09a11
      https://github.com/llvm/llvm-project/commit/cb648ba97003bc0aa94e86f8e89ea6e3e3d09a11
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    A llvm/test/Transforms/SLPVectorizer/X86/many-uses-parent-node.ll

  Log Message:
  -----------
  [SLP]Check if the user node has instructions, used only outside

Gather nodes with parents, which scalar instructions are used only
outside, are generated before the whole tree vectorization. Need to
teach isGatherShuffledSingleRegisterEntry to check that such nodes are
emitted first and they cannot depend on other nodes, which are emitted
later.

Fixes #141628



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